Current location: Hot Scripts Forums » General Web Coding » CSS » NN4 and CSS body color


NN4 and CSS body color

Reply
  #1 (permalink)  
Old 10-15-03, 11:18 AM
mswhite60 mswhite60 is offline
New Member
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
NN4 and CSS body color

Hi,

I have the following style.css entries:

body
{
color: #CCCCCC;
background-color: #000000;
font-size: medium;
font-family: Georgia, Times New Roman, Times, serif;
text-align: left;
letter-spacing: .5px;
line-height: 1.3;
}

NN4 users get the black background, but black (not #CCCCCC) text as well. Is there a way to handle this such that NN4 folks see the text?
Reply With Quote
  #2 (permalink)  
Old 10-21-03, 03:46 PM
petersleeter petersleeter is offline
New Member
 
Join Date: Oct 2003
Location: North Carolina
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
background-color & nn4

I ran accross this awhile back. I set borders to "0" and this seemed to work.
Reply With Quote
  #3 (permalink)  
Old 01-07-04, 02:32 AM
icelandknight icelandknight is offline
New Member
 
Join Date: Jan 2004
Location: reykjavik, iceland
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mswhite60
Hi,

I have the following style.css entries:

body
{
color: #CCCCCC;
background-color: #000000;
font-size: medium;
font-family: Georgia, Times New Roman, Times, serif;
text-align: left;
letter-spacing: .5px;
line-height: 1.3;
}

NN4 users get the black background, but black (not #CCCCCC) text as well. Is there a way to handle this such that NN4 folks see the text?
There is one problem, you don't show the rest of the STYLE code... I had the same problem as you with the code not changing my background color of the pages... This is how the code in my style.css file looked:

<style>
body {background-color: #000000}
p {font-family:arial}
</style>

Only the P worked until I added the COMMENT tag:

<style>
<!--
body {background-color: #000000}
p {font-family:arial}
-->
</style>

Now everything works perfectly. VERY frustrating to have the code correct, but nothing happens... and NO program to tell me what I'm doing wrong. :-/

Oh well, now I know.

bye4now,
Thor
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:48 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.