[thelist] Background color not filling div
Nemesis
nemesis at nemesis1.f2o.org
Thu Jul 10 08:48:29 CDT 2003
Ryan Rushton wrote:
> At 10:02 AM 7/10/2003, you wrote:
>
>> Ryan Rushton wrote:
>>
>>>
>>>
>>> The problem with the DIVs is that the background color does not see
>>> to fill out the entire div and the margins between DIVs appear to vary.
>>> The page in question is at http://www.ryanrushton.com/dev/list.html
>>>
>>> Looking for suggestions / explanations that might fix this.
>>
>> Everything is working as it should be. You have three 17px wide icons
>> in 50px wide space, do the math. One icon has moved below the others
>> creating a white space.
>>
>> HTH
>> gary
>
>
>
> Gary,
>
> The problem is that I have a master div with a gray background. The
> icons div and the page title div are contained within that master div
> (neither of the inner divs have background colors specificed).
>
You have floated div.docFileBox so it is no longer in the document
flow. It doesn't matter what you did to the containing division it no
longer contains it. Try adding position:relative to all your divs.
HTH
Gary
--
The Nemesis Project
http://nemesis1.f2o.org
One Stop CSS
More information about the thelist
mailing list