|
| |
|
|
J-man
Posts: 936 From: Canada Status: offline
|
the CSS blues - 10/30/2003 17:07:23
For the life of me, I can't figure out what's wrong here: Okay, I have this line at the top of my HTML page: Code: <link REL=STYLESHEET HREF=/standard.css TYPE=text/css> This contains: Code: .small { font-family: verdana,arial,geneva,sans-serif; font-size: 10pt; line-height: 1.25; } Now in my code, I've got this: Code: <div class="small">My text</div> I also tried this: Code: <div class="small" style="small">My Text</div> Both lines render perfectly in IE 6.0, 5.5 and Netscape 4.7, but wont render in NS 7.0, it's giving me like <H2> fonts. Can anyone see where I'm wrong?
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: the CSS blues - 10/30/2003 17:50:16
Hey J-man! If you have your link set up as stated above you are incorrect. should be <link rel="stylesheet" type="text/css" href="standard.css"> </head> Make sure that it is before your< /head> Try this out and see what happens. <div class="small">My text</div> This is correct, and you appear to have your class set up correctly.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: the CSS blues - 10/30/2003 17:58:45
DOH! thanks c1KSissy this worked: <link rel="stylesheet" type="text/css" href="standard.css"> .....I guess NN7 is a little more picky.
< Message edited by J-man -- 10/30/2003 5:59:52 PM >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|