Quoting Joanne:
I have the following code in my style sheet (see below).
In IE 6.0.290 - the bottom border works but the padding doesn't.
In Firefox 1.0 - the padding works but not the bottom border.
Running this code through the validator says it's ok. If I put inherent in
the 0px values, it looks worse.
Any clues?
It is hard to test or appraise without a page that embeds this element,
but here
are some ideas:
-Try changing the order of the line in .addresstable
-Create another div which gives you just the border. This is not
elegant though.
Joanne
.addresstable
{
background-image:url(images/navempty.gif);
Note:
padding-left:14px;
padding-top:4px;
padding-bottom:4px;
border-style:solid;
border-top:0px;
border-bottom:1px;
border-left:0px;
border-right:0px;
border-color:#FFFFFF;
You probably know this already, but the 9 lines above can be converted in just
2. This might make a difference in practice (in terms of layout).
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
font-weight:normal;
line-height:130%;
color:#FFFFFF;
}
Roy
--
Roy S. Schestowitz
http://Schestowitz.com
|