mran
09-14-2010, 09:58 PM
Hi
I am trying to create a tableless layout with CSS and I have a problem. Here is my CSS
body { background-image: "pixURL" }
container { background-color: white }
contentL { background-color: white }
contentC { background-color: white; }
contentL and contentC are nested within container and container is nested within body.
I'm trying to set the background-color of the container element to white so that even though the heights of contentL and contentC are different, there will still be a uniform white background.
For some reason it is not working. columnL is shorter than columnC (as expected) and so you can see the image that is used for the background of the body tag below columnL. This happens even though both columnL and columnC are nested withing container and container's background-color is set to white.
Any recommendations would be great. I'm trying to create a tabless design.
Thanks
M
I am trying to create a tableless layout with CSS and I have a problem. Here is my CSS
body { background-image: "pixURL" }
container { background-color: white }
contentL { background-color: white }
contentC { background-color: white; }
contentL and contentC are nested within container and container is nested within body.
I'm trying to set the background-color of the container element to white so that even though the heights of contentL and contentC are different, there will still be a uniform white background.
For some reason it is not working. columnL is shorter than columnC (as expected) and so you can see the image that is used for the background of the body tag below columnL. This happens even though both columnL and columnC are nested withing container and container's background-color is set to white.
Any recommendations would be great. I'm trying to create a tabless design.
Thanks
M