2 replies [Last post]
bgerardi
Offline
newbie
Last seen: 15 years 39 weeks ago
Joined: 2003-10-17
Posts: 1
Points: 0

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:

<link REL=STYLESHEET HREF=/standard.css TYPE=text/css>

This contains:

.small
{
	font-family: verdana,arial,geneva,sans-serif;
	font-size: 8pt;
	line-height: 1.25;
}

Now in my code, I've got this:

<div class="small">My text</div>

I also tried this:

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

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 weeks 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Works in IE, NS 4.7, not NS 7.0

Hi bgerardi,
Can you link to an example page incase its something not shown in your post.

yostar
yostar's picture
Offline
Regular
Toronto, Ontario, Canada
Last seen: 12 years 14 weeks ago
Toronto, Ontario, Canada
Timezone: GMT-4
Joined: 2003-10-17
Posts: 18
Points: 0

Works in IE, NS 4.7, not NS 7.0

Hey, I could be totally wrong, but perhaps NS7 is more sticky and requires you to place urls in quotes:

<link REL="STYLESHEET" HREF"=/standard.css" TYPE="text/css">

in any case, it doesn't hurt to try Wink

Yoav Schwartz
YMS Dynamics