Re: doctype not found? [message #173602 is a reply to message #173599] |
Wed, 20 April 2011 09:24 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 4/20/2011 3:17 AM, geoff(at)invalid(dot)invalid wrote:
> Hello
>
> Using
>
> http://www.micro-active.com
>
> I find that with IE9 the page is not centred when first visited.
> Moving to another page and then back to index.php it is then centred?!
>
> With the latest Firefox, Opera, Chrome and Safari for Windows the page
> is centred from the start.
>
> Plus, if I do a W3C HTML check I see that the doctype is not known. If
> I remove the php at the top of the file then no errors found, so, what
> is wrong with the php?
>
> Thanks
>
> Geoff
>
There is nothing wrong with the PHP - PHP is server-side, and the client
knows nothing about it. It's your HTML which is incorrect.
The html may or may not have been generated by PHP - but it's not a PHP
problem. Try alt.html to figure out what's wrong with your html.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|