Mon, 2012-06-18 05:32
Hi, I make a layout with css creator, with 3 columns e without header and footer.
I read the page http://csscreator.com/node/20471..
Now my problem is that i put i background image in the 3 columns but i see only a litte part of the image.
This i the part of css for the left column.
#left { float: left; display: inline; width: 200px; /*** Left Column Width ***/ margin-left: -200px; /*** NEGATIVE Left Column Width ***/ position: relative; /* my */ background-image: url(./images/Menu_SX.jpg); display: block; }
where I wrong?
tnk
Rudy
Tue, 2012-06-19 02:56
#1
Hi Rudy, Since #left has no
Hi Rudy,
Since #left has no height, then the background will only show a far as the content goes.
You can either specify a height, or min-height. Or you can put the background on an element that contains it that has more height.