Forum Moderators: coopster

Message Too Old, No Replies

Validating PHP pages

         

Kysmiley

2:45 pm on Dec 23, 2004 (gmt 0)

10+ Year Member



I'm trying to find out why items on some pages wont line up but they will on others with this calenadr script. It is strange im using a header and footer as required files and on most pages they come out fine yet on others the logo on the bottom right of the footer is not in posistion as it should be. it is not even on the footer background image but off to the right causing a verticle scroll bar. When using the w3 validator it comes back with not valid do to the & sign it suggests I replace them with "&" , How will that effect my coding if I do that. Or should i ignore that part of the error message
Pat

jatar_k

10:59 pm on Dec 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



well the & change isn't the thing that should be effecting your layout. I would just forget that for now and carry on.

flood6

11:36 pm on Dec 23, 2004 (gmt 0)

10+ Year Member



As was said, the "&" isn't causing your layout problems, but the w3c validator can only see what html is spit out by your PHP code. So where ever you use "&" to be printed, just change it to "&", it won't cause any problems.

Are you getting any other validation issues?

Kysmiley

11:56 pm on Dec 23, 2004 (gmt 0)

10+ Year Member



Nope the page and CSS validates for some reason PHP does not like the bottom container div to be nestled inside another container. But i still have a CSS layout positioning problem Im trying to sort out.
The PHP htlm script did have many leftout starting and or ending table type tags so i have them all fixed and have the text line up nas it should but still a problem with the bottom background and logo layout
Pat