Matthew Macdonald-Wallace wrote:
Quoting David Precious <[EMAIL PROTECTED]>:
Matthew Macdonald-Wallace wrote:
When the HTML is generated by the PHP the rendering is all over the
place, however if I save the source code of that document and open
as a local copy in internet explorer, the page looks exactly as it
is meant to.
I suspect the server is sending a header which is making IE change
rendering modes; you might want to look at the headers it's sending.
Good point, I hadn't thought of that. Would the fact that the DOCTYPE
specifies XHTML Strict but it's a PHP file (and probably therefore a php
mime-type) do the trick?
PHP doesn't have a MIME type; it generates content of various MIME
types, but in 99.9% of cases it generates text/html :)
Is it at a publically-accessible URL?
No, but it can be... :o)
Good stuff - it looks as though Perry may have hit the nail on the head
with the unclosed label tag - does that fix it for you?
I suspect that some header the server sends is making IE go into
"forgiving" mode; when loaded straight from disc, it might be going into
nazi mode, perhaps.
The W3C validator is always a good place to turn for any HTML/CSS which
misbehaves. If everything checks out with the validator, you can tell
people "Your browser is clearly broken, get a better one".
Unfortunately, that doesn't always go over so well in the corporate world :|
Cheers
Dave P
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.