[thelist] Stretched background + centered image

Jonathan Snook jonathan.snook at gmail.com
Fri Jun 15 08:50:50 CDT 2007


On 6/15/07, Karine Delvare <kdelvare at nerim.net> wrote:
> Well, I just had to write it down to find the solution. Using 'auto'
> margins properly solved it.

What did you put margin:auto on? A quick test here shows the image as
still being offset from center, at least in FF2/Win.

There was two ways to solve what I saw:

1. change the "Center?" image to position:relative
2. set margin-left to minus half the length of the image.

If what you have is working, could you post it live? I'd like to see
how your auto margins solved the problem.



More information about the thelist mailing list