navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

the CSS blues

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> the CSS blues
Page: [1]
 
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?
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: the CSS blues - 10/30/2003 17:48:00   
Just a guess, but try using some other unit of measure, if I remember right Netscape doesn't like to render points.

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to J-man)
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/

(in reply to J-man)
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 >

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: the CSS blues - 10/30/2003 19:13:01   
quote:

ORIGINAL: J-man

DOH!

thanks c1KSissy this worked:
<link rel="stylesheet" type="text/css" href="standard.css">


.....I guess NN7 is a little more picky.


No problem J-man, just happy to be able to start giving back a bit after all this time!:)

_____________________________

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/

(in reply to J-man)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> the CSS blues
Page: [1]
Jump to: 1





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