|
J-man -> 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?
|
|
|
|