Mike,
On Jan 24, 2006, at 8:41 PM, Mike Tuller wrote:
> I am trying to design a page that has a set container that adjusts when
> you change the size of the page. I am using float, and I am having a
> problem where the background does not show up when you use a table.
> In my
> case, for a form. Can someone explai to me why the background is not
> white
> as I have set in the container? Why is it that if I change float to
> relative for the form does the background then work?
A url is much better than pasted in code. In your case, I'm betting
that everything in #container is floated. When this is the case,
#container no longer has any content, so it collapses to a hieght of 0,
ergo, no background-color. Either float the container or unfloat some
of the contents.
--
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
God allows U-turns!"
~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/