Re: CSS stops working, and class problem.
by "Rob Parker" <RobParker(at)access.net.au>
||Sat, 30 Oct 1999 11:05:53 +1000
||"Eric A. Meyer" <eam3(at)po.cwru.edu>
The interaction of JS and CSS was news to me. Seems like a crazy way to do
And the inclusion of a font family in the .footer class fixed my other
problem - and I've made it a little larger - maybe Mac users can see it now
if they really need to :-)
----- Original Message -----
From: Eric A. Meyer <eam3(at)po.cwru.edu>
Sent: Saturday, 30 October 1999 04:07
Subject: Re: CSS stops working, and class problem.
>>I've just been checking out the <noscript> </noscript> tags for a page
>><noscript> stuff worked OK, BUT all the CSS on the page stopped working.
>>Is this a known bug?
long story, but the short short version is that Netscape wanted to make
styles and behaviors intertwined, but the W3C decided on a different path.
>Might this line- font: normal 8pt/12pt; be causing the problem? Have you
>tried it with just one font size defined?
Yes, but not for the reasons you think. A 'font' declaration must have
a font-family associated with it; IE may let this pass, but Netscape won't,
and is right not to do so. The 8pt/12pt is valid (if inadvisable) in that
it defines 8pt text with a 12pt line-height.
If you must make the text too small to be read on Macintosh monitors,
you'll have to at least add a font-family, like this:
font: normal 8pt/12pt sans-serif;
...or declarations to that effect.
Eric A. Meyer - eam3(at)po.cwru.edu - http://www.cwru.edu/home/eam3.html
Editor, Style Sheets Reference Guide http://style.webreview.com/
Coordinator, CSS1 Test Suite http://www.w3.org/Style/CSS/Test/
Member, WSP CSS Technical Committee http://www.webstandards.org/
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA