[css-d] Question about auto

2010-11-05 Thread John
given this snip of code: div#container { margin: 15px auto; } is auto enough to make the contents of that div remain centered from left to right as the end user scales their browser window larger and smaller? thanks! cs

Re: [css-d] [+] Question about auto

2010-11-05 Thread Thierry Koblentz
given this snip of code: div#container { margin: 15px auto; } is auto enough to make the contents of that div remain centered from left to right as the end user scales their browser window larger and smaller? No. You'd need to set a width too. This is the excerpt of a presentation I

Re: [css-d] [+] Question about auto

2010-11-05 Thread John
On Nov 5, 2010, at 7:25 PM, Thierry Koblentz wrote: given this snip of code: div#container { margin: 15px auto; } is auto enough to make the contents of that div remain centered from left to right as the end user scales their browser window larger and smaller? No. You'd need to set a