logictrap
05-30-2008, 02:19 AM
What is the recommended way to create a content area with a background that fills in as the height expands?
I created a layout with a main container and specified a background color and a tiled image background.
Inside the main container I put several floated div's. In IE the background fills in but in Firefox it does not.
I found that putting a div at the bottom of the content area that has float set to none caused Firefox to fill in the background.
Is this the recommended way? It seems quirky to me.
The DOC TYPE is XHTML transitional.
I created a layout with a main container and specified a background color and a tiled image background.
Inside the main container I put several floated div's. In IE the background fills in but in Firefox it does not.
I found that putting a div at the bottom of the content area that has float set to none caused Firefox to fill in the background.
Is this the recommended way? It seems quirky to me.
The DOC TYPE is XHTML transitional.