moonlighter44
06-04-2008, 06:32 PM
Hi,
I am pretty new to tableless layouts. The container div is giving me fits.
The body background is green, which is working
but the container has a repeating (x) image and a white background. Those do not show up unless i put some text in at the bottom of this div. (which you will see at the bottom). if i take that text out, the white background and the container img disappears and all you see is the body background color.
Help??
Thanks
here is the link:
http://creativeincolor.com/dl/
and the css:
body {
color: black;
background-color: #cbd6c2;
font: 12px Arial, Helvetica, Verdana, sans-serif;
text-align: center;
margin-top: 0;
}
#container {
color: black;
background-image: url(images/background1.gif);
background-color: white;
background-repeat: repeat-x;
width: 950px; /*Width of main container*/
margin: 0 auto; /*Center container on page*/
line-height: 1.8em;
text-align: left;
}
I am pretty new to tableless layouts. The container div is giving me fits.
The body background is green, which is working
but the container has a repeating (x) image and a white background. Those do not show up unless i put some text in at the bottom of this div. (which you will see at the bottom). if i take that text out, the white background and the container img disappears and all you see is the body background color.
Help??
Thanks
here is the link:
http://creativeincolor.com/dl/
and the css:
body {
color: black;
background-color: #cbd6c2;
font: 12px Arial, Helvetica, Verdana, sans-serif;
text-align: center;
margin-top: 0;
}
#container {
color: black;
background-image: url(images/background1.gif);
background-color: white;
background-repeat: repeat-x;
width: 950px; /*Width of main container*/
margin: 0 auto; /*Center container on page*/
line-height: 1.8em;
text-align: left;
}