[thelist] Stretched background + centered image
Karine Delvare
kdelvare at nerim.net
Fri Jun 15 08:18:28 CDT 2007
Hello,
In my quest of nice liquid layouts, I have come across this problem:
I have a <div> with a background image I want to stretch. This being
not possible, the background is put in an <img> tag inside the div,
with absolute positioning and z-index. Then I want the content of that
div to be centered. Problem: the content is put just right of the
horizontal center.
See the problem in action:
http://edhel.org/
Thoughts?
Karine
More information about the thelist
mailing list