Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > LEIA Archives > Web Site Help > CSS

Notices

 
 
Thread Tools Display Modes
  #1  
Old 05-01-2004, 06:07 PM
sjb's Avatar
sjb sjb is offline
Smile :)
 
Join Date: Aug 2003
Location: T. Canada
Posts: 908
sjb is on a distinguished road
stylesheet trouble

ok on my site...i have places where i have text in <p> </p> tags and the font isnt showing as the colour that i put but as black...even without the tags it makes no difference

here's my code

Code:
<style type="text/css">

A:link
{ text-decoration: none; color:#33CCFF; }
A:visited
{ text-decoration: none; color:#cc66cc; }
A:active
{ text-decoration: none; color:#FF9933; }
A:hover
{ text-decoration: none; color:#FF0000;

cursor: auto}

body 
{ background-color: #000000; 
background-repeat: repeat;
background-attachment: scroll;

font-family: Times New Roman;
font-color: #ffffff; 
letter-spacing: 0pt;
font-weight: normal;
font-size: 12pt;


scrollbar-face-color : #CC3333; 
scrollbar-base-color : #CC3333;
scrollbar-highlight-color : #FFFFFF; 
scrollbar-3dlight-color : #FFFFCC; 
scrollbar-shadow-color : #000066; 
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #CC0033; 
scrollbar-arrow-color : #000033;

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0; 
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0; 
}


td
{ font-family: Times New Roman
color: #ffffff; }

input, textarea
{ background: #ffffff;
font-family: Times New Roman;
color: #000000; 
}

</style>
why is the text coming out as black and not white...the only way i can get it to work is by using
p {font-family: Times New Roman;
color: #FFFFFF;}
in the code...is there any alternatives...incase i forget to put the <p> tags around text.
Sponsored Links
  #2  
Old 05-01-2004, 06:16 PM
bourdelson's Avatar
bourdelson bourdelson is offline
sendslovetothedancefloor
 
Join Date: Aug 2003
Location: Boston, MA
Posts: 2,409
bourdelson will become famous soon enough
Change font-color: #ffffff; to color: #ffffff; in the body portion of your CSS and see if it works.
  #3  
Old 05-01-2004, 06:26 PM
sjb's Avatar
sjb sjb is offline
Smile :)
 
Join Date: Aug 2003
Location: T. Canada
Posts: 908
sjb is on a distinguished road
thankyou it works
  #4  
Old 05-01-2004, 06:27 PM
bourdelson's Avatar
bourdelson bourdelson is offline
sendslovetothedancefloor
 
Join Date: Aug 2003
Location: Boston, MA
Posts: 2,409
bourdelson will become famous soon enough
You're welcome.
 

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

Forum Jump


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.