background color, background image did not fill in the whole css box model
I have this problem than could not figure out why. The background color, background image did not fill in the whole css box model no matter what I adjust it.
http://imageoneads.co开发者_开发问答m/kmplumbing/plumbing.htm
Could it be some css specific rule overlapped somewhere in my codes?
I would appreciate if someone could help.
Thanks David
Try removing background-color: #F9F0D3;
from plumbingText2
.
If you are tying to hide the background use:
#plumbingText2 {
background-color: #F9F0D3;
border: medium none;
float: left;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
margin: 0;
padding: 0;
position: relative;
vertical-align: top;
width: 100%;
}
and add valign="top"
to your <td>
:
<td valign="top" height="" colspan="2" rowspan="3"> <div id="plumbingText2">
Another option is to leave out the valign
tag and use:
#plumbingText2 {
background-color: #F9F0D3;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
padding-bottom: 10px;
padding-top: 15px;
}
and set the style
on the <ul>
:
<ul style="border: medium none; margin: 0;">
精彩评论