Posted by wolfing1 on 07/14/06 18:15
Can someone show me the light?
I have this piece of code:
<td><div id="size2" class="notSelectedSize">L</div></td>
and these are the CSS classes:
..notselectedsize
{
BORDER-RIGHT: #ffe4b5 1pt solid;
BORDER-TOP: #ffe4b5 1pt solid;
FONT-SIZE: 8pt;
BORDER-LEFT: #ffe4b5 1pt solid;
WIDTH: 25px;
CURSOR: pointer;
COLOR: black;
BORDER-BOTTOM: #ffe4b5 1pt solid;
FONT-FAMILY: Arial;
HEIGHT: 20px;
BACKGROUND-COLOR: #b9ac97;
TEXT-ALIGN: center
}
Why does it show with the dark background and 25x20 size (from class
NotSelectedSize) in firefox as I want it, but in IE6 it shows with no
background and small size? Guess I can understand the size as I don't
think I can control a <div> width and height via CSS, but what about
the background and foreground colors? why don't they show in IE?
[Back to original message]
|