6 replies [Last post]
grudz
Offline
newbie
Last seen: 13 years 48 weeks ago
Joined: 2005-09-19
Posts: 3
Points: 0

Hi,

This is my first post, and hopefully not my last because I always seem to have problems with .css . Tongue

Anyway,

I just want to know how come Mozilla/Netscape don't read the .css when I link it like this

<link rel="stylesheet" href="css/zefsci.css" type="text/css" media="screen">

?

What can I do to make it work?

Thank you

DanA
DanA's picture
Offline
Elder
Last seen: 9 years 15 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

.css and mozilla

It should work.
Have you got a link to the test page ?

grudz
Offline
newbie
Last seen: 13 years 48 weeks ago
Joined: 2005-09-19
Posts: 3
Points: 0

.css and mozilla

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 5 years 24 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

.css and mozilla

It's working, but you shouldn't start class or id names with a number.

DanA
DanA's picture
Offline
Elder
Last seen: 9 years 15 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

.css and mozilla

No problem, even with Netscape 4, but it may help if you validate your html
http://validator.w3.org/check?verbose=1&uri=http%3A//www.zefsci.com/
then your css
http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.zefsci.com/

Internet Explorrer 5.0

grudz
Offline
newbie
Last seen: 13 years 48 weeks ago
Joined: 2005-09-19
Posts: 3
Points: 0

.css and mozilla

Thanx alot, that was the problem...

Red Matrix
Red Matrix's picture
Offline
Regular
RGV
Last seen: 10 years 16 weeks ago
RGV
Timezone: GMT-5
Joined: 2005-09-17
Posts: 24
Points: 0

.css and mozilla

I also noticed that you had a few classes that are named by the style they represent.

This means if you ever wanted to change all the .dottedWhite { color:white; } elements to say, NOT white, what would you have to do? Change the color:white; to color:black;, but then what?.... . . ... leave all the <P class="dottedWhite">target</P> like that, so that if you were to view the markup later... it's mis-represented?

I hope I am making sense here. :?

Dave