View Full Version : Using link href vs. pasting it between the head tags
10-11-2004, 12:34 AM
When I paste the whole CSS doc in between the head tags, all the text is the proper size.
When I call the css doc using link href, the text sizes are all whack. For some reason, this does not make it's way into the selector definitions:
So if I use
<p class=big> test
The text will be bold, but not 10pt.
Whats up with that?
10-11-2004, 01:01 AM
That's twisted :|
Can you host the two pages somewhere and supply us with a link to check it out? :)
10-11-2004, 01:18 AM
Yeah that's weird, what browser?
10-11-2004, 02:56 AM
Nuts, seems to only be doing it in FireFox!
10-11-2004, 03:30 AM
It may have something to do with your bodyrow2 class (besides the lack of quotes around attribute ;))
That's the only error I can see in those two rules though :confused:
10-11-2004, 04:21 AM
I see an error in the .css file: You're including the style opening and closing tags in it. This file should be pure CSS, so it shouldn't contain any HTML whatsoever. In fact, I think what is broke is your first selector:
TD,P,bodyThis is a broken selector (the '<style type="text/css"> TD' is not a valid selector), and thus firefox does the right thing and disregards the entire ruleset, as it should. Any browser not doing it that way would be incorrect.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.