View Full Version : background
Arrianna 05-03-2003, 12:30 AM okay I have my css and stuff but on every subpage I make i always have to put the bg color the css wont work for the bg color what am i doing wrong here is my code:
<style type="text/css">
<!--body {
scrollbar-3dlight-color: #2922Ac;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #2299AC;
scrollbar-darkshadow-color: #0099FF;
scrollbar-face-color: #2299AC;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #0099FF;
scrollbar-track-color: #6699FF;
}
-->
<!--
A:link { COLOR: #FFFFFF; text-decoration: none;}
A:visited { COLOR: #FFFFFF; text-decoration: none; cursor:crosshair;}
A:active { COLOR: #000000; TEXT-DECORATION: none;}
a:hover { text-decoration: color:#000000;}
-->
<!--
body,tr,td, h6, p, li
{font-size: 8pt;
font-family: tahoma,arial;
color:#ffffff;
line-height:12px;
letter-spacing:0pt;
-->
<!--
BODY
background-color:2922AC}
-->
<!-- h6
{font-size: 8pt;
font-weight:normal}
-->
<!--
input, textarea
{color: #FFFFFF;
background: #2922AC;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
font-family: tahoma,arial;
text-align: left;
border-width: 1px;
border-style: solid;
border-color:#FFFFCC;
filter: alpha(opacity=50)}
-->
</style>
why do I have to keep changing my bg color help!!!
Cherchezlafemme 05-03-2003, 12:41 AM Check here to revise your CSS code:
I think the problem is the way you wrote the BG COLOR thingy my friend ;)
http://www.lissaexplains.com/css.shtml
kittycat 05-03-2003, 12:54 AM Change this:
<!--
BODY
background-color:2922AC}
-->
To this:
<!--
BODY {
background-color:2922AC}
-->
you just forgot a {.
Dude128 05-03-2003, 02:22 AM you should also have a # preceding each hex code:
body {
background-color:#2922AC; }
Arrianna 05-03-2003, 02:37 AM thank you so much that is fixed but I have 1 more quewstion okay i have my css code and stuff but my font keeps coming out all HUGE!! I don't know why! can u help me here is my CSS code:
<style type="text/css">
<!--
A:link{color:FFFFFF;text-decoration:none;font-weight:normal;behavior:url(pixel.htc); filter:progid:dximagetransform.microsoft.pixelate( duration=.3, maxSquare=20, enabled=false); height: 0px;}
A:visited{color:FFFFFF;text-decoration:none;font-weight:normal;}
A:active{color:FFFFFF;text-decoration:none;font-weight:normal;}
A:hover{color:FFFFFF;text-decoration:none;font-weight:normal;}
body
{ background-color: #C4A138;
font-family: tahoma,arial,verdana;
color: #FFFFFF ;
letter-spacing: value 3pt, 5pt;
font-weight:value normal;
font-size:value10 pt ;
scrollbar-3dlight-color: #C4A138;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #C4A138;
scrollbar-darkshadow-color: #C4A137;
scrollbar-face-color: #C4A138;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #C4A137;
scrollbar-track-color: #C4A136;
td
{ font-family: value; tahoma, verdana,arial, common fonts]
color: #FFFFFF;
padding-left: value; 2cm, 4cm
padding-right: value; 2cm
padding-top: value; 2cm
padding-bottom: value; 2cm
padding: value; 2cm
padding: value value 2cm, 4cm }
input, textarea
{ background: #C4A138 ;
font-family: tahoma,arial,verdana;
color: #FFFFFF;
border-style: value dashed;
border-color: #FFFFFF;
border-width: valuepx 4,5,6,8
filter: alpha(opacity=50)}
-->
</style>
help!!
Dude128 05-03-2003, 02:50 AM its probably due to the fact that you have the word value in place of the atual values in your code. replace the word value with your actual value. for example:
border-style: dashed;
not:
border-style: value dashed;
Cherchezlafemme 05-03-2003, 02:51 AM font-size:value10 pt ;
change it to 2pt or smaller 10pt is much too big!
Arrianna 05-03-2003, 03:08 AM okay but it isnt working! still look.. http://www.mudora.org/candyface/
also i just did a pixelted link affect and my links are coming out all wierd look... http://www.mudora.org/candyface/youlist.html
here is my css..
<style type="text/css">
<!--
A:link{color:FFFFFF;text-decoration:none;font-weight:normal;behavior:url(pixel.htc); filter:progid:dximagetransform.microsoft.pixelate( duration=.3, maxSquare=20, enabled=false); height: 0px;}
A:visited{color:FFFFFF;text-decoration:none;font-weight:normal;}
A:active{color:FFFFFF;text-decoration:none;font-weight:normal;}
A:hover{color:FFFFFF;text-decoration:none;font-weight:normal;}
body
{ background-color: #C4A138;
font-family: tahoma,arial,verdana;
color: #FFFFFF ;
letter-spacing: value 3pt, 5pt;
font-weight:value normal;
font-size:value 1 pt ;
scrollbar-3dlight-color: #C4A138;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #C4A138;
scrollbar-darkshadow-color: #C4A137;
scrollbar-face-color: #C4A138;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #C4A137;
scrollbar-track-color: #C4A136;
td
{ font-family: value; tahoma, verdana,arial, common fonts]
color: #FFFFFF;
padding-left: value; 2cm, 4cm
padding-right: value; 2cm
padding-top: value; 2cm
padding-bottom: value; 2cm
padding: value; 2cm
padding: value value 2cm, 4cm }
input, textarea
{ background: #C4A138 ;
font-family: tahoma,arial,verdana;
color: #FFFFFF;
border-style: dashed;
border-color: #FFFFFF;
border-width: valuepx 4,5,6,8
filter: alpha(opacity=50)}
-->
</style>
Dude128 05-03-2003, 03:17 AM you still need to replace the word value with the actual value. also, 10pt font should be fine (and 1pt is far too small)- if you look at Lissa's CSS page (http://www.lissaexplains.com/css.shtml), you will see that she gives examples of 12pt and 18pt font, and they are a decent size.
|