View Full Version : Form css not working


woot_holly
03-05-2005, 10:45 AM
I added form/input css to my stylesheet, but when I test it It comes up in the default colors.
This is my stylesheet:


BODY {
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF;
scrollbar-arrow-color: #B6FF6C;
scrollbar-track-color: #FFFFFF;
}

body { background-color:#FFFFFF; }
body {color:#F92F9E; text-decoration:none; font-size: 10px; font-family: Arial;}

A:link { color:#F92F9E; text-decoration:none; font-size: 10px; font-family: Arial;}
A:hover { position: relative; left: 1.5px; top: 1.5px; font-family: Arial; filter: shadow(color=black, offX=-1, 'offY=-1 strength=1)'; height: 2; font-size: 10px; }
A:visited { color:#F92F9E; text-decoration:none; }

DIV {color:#F92F9E;
font-size: 10px;
border: 1 solid #F92F9E;
font-family:Arial;
background-color:#FFFFFF;
}


input, textarea
{ background: #000000;
font-family: arial;
color: #FFFFFF;
border-style: solid;
border-color: #FF0000;
border-width: 1px; }

Any ideas what I'm doing wrong?

Monkey Bizzle
03-05-2005, 11:31 AM
i don't see anything wrong with that part of your style sheet... Perhaps give us a link to your site so we can see it in action?

Your body sections should be together tho, like this:

body
{background-color:#FFFFFF;
color: #F92F9E;
text-decoration: none;
font-size: 10px;
font-family: Arial;
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF;
scrollbar-arrow-color: #B6FF6C;
scrollbar-track-color: #FFFFFF;}

pb&j
03-05-2005, 02:24 PM
sometimes there are problems when you forget the -color here...

input, textarea
{ background-color: #000000;