On Feb 22, 11:35 am, "Jonathan N. Little" <lws4...@central.netwrote:
yawnmothwrote:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
rf wrote:
"yawnmoth" wrote:
... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
But served as text/html
Date: Fri, 22 Feb 2008 17:34:47 GMT
Server: WebServerX
Last-Modified: Fri, 22 Feb 2008 17:02:25 GMT
Etag: "131834b-18b-47bf0021"
Accept-Ranges: bytes
Content-Length: 395
Content-Type: text/html
200 OK
Hmmm. That seems like a likely culprit. I know with CSS, Firefox
won't treat it as CSS unless the Content-Type is text/css. mod_mime
(I think) will set the Content-Type automatically to that if the
extension is *.css, but if it's *.php or whatever, you'll have to set
it, yourself. Here's an example:
http://www.frostjedi.com/terra/scripts/demo/phpcss.html
I tried, incidentally, using a meta tag to set the Content-Type to
text/xhtml but I'm still getting HTML when I save. I guess I'll need
to create an .htaccess rule or something, but I'm somewhat hesitant to
do that, because not all the *.html's I have actually are XHTML. Some
really are HTML.
Seems like I probably ought to post this on mozillazine.org...