/    Sign up×
Community /Pin to ProfileBookmark

ccs and netscape

I am curious as to why netscape 7 does not register the colors i have entered in my styles file.
This is what i have in my ccs file:

p {font: normal 8pt/10pt “Verdana”,”Arial”}
P.heading_white{font: normal 18pt “Verdana”, “Arial”; color:”#FFFFFF”}

however when i call <P class=’heading_white’> all parameters are correct except for the color. It still remains black.
This also happens with the links i have set.
All works well in IE 5, but not in NN7.
I would appreciate any comments.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@StefanDec 03.2002 — [i]Originally posted by Count_Rugen [/i]

[B]I am curious as to why netscape 7 does not register the colors i have entered in my styles file.

[/QUOTE]




It's becuse your code is wrong.



color:"#FFFFFF"

should be

color:#FFFFFF

or

color:#FFF



BTW, you should always end your list of fonts with a general family type.

In case of Arial you probably want to use "sans-serif"



Also, NEVER use pt on a webpage intended for the monitor.

Points are only meaningfull eg printed on paper. The size of a point varies quite much from system to system, especially cross OS. Use px or % instead.
Copy linkTweet thisAlerts:
@Count_RugenauthorDec 03.2002 — perhaps you could help me with one more thing...

The text size set in <STYLE> does not have any influence in IE 5 on the mac. Consequently, the text in IE5 on the mac is much larger than NN7 on the mac, or IE5 or NN7 on the PC.

Can you help me with this?
Copy linkTweet thisAlerts:
@StefanDec 03.2002 — [i]Originally posted by Count_Rugen [/i]

The text size set in <STYLE> does not have any influence in IE 5 on the mac. [/B][/QUOTE]


An URL to the site perhaps?
Copy linkTweet thisAlerts:
@Count_RugenauthorDec 04.2002 — sorry, the site isnt hosted yet.
Copy linkTweet thisAlerts:
@ecrossDec 04.2002 — Maybe you can post your code. Without us looking at it, how do you exactly want us to help you? ?
×

Success!

Help @Count_Rugen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...