Re: [WSG] Centering Elements

2008-04-10 Thread David Dorward
On 10 Apr 2008, at 05:19, Spirit Q.9 Gaming wrote: margin: 0 auto; or the margin-left: auto; margin-right: auto; just the same for horizonal center. But i think it needs text-align: center for working with IE. Only if you really need to support IE5.5 and earlier, which most people don't

[WSG] Centering Elements

2008-04-09 Thread Chris Kennon
Hi, I yet to devise an elegant solution centering all elements within div#innerContainer. Would a gifted Standardista offer an elegant backward compatible solution? CK *** List Guidelines:

Re: [WSG] Centering Elements

2008-04-09 Thread Chris Kennon
The uri is here: http://working.bushidodeep.com/spring_2008/ template.html On Apr 9, 2008, at 3:31 PM, Chris Kennon wrote: Hi, I yet to devise an elegant solution centering all elements within div#innerContainer. Would a gifted Standardista offer an elegant backward compatible solution?

Re: [WSG] Centering Elements

2008-04-09 Thread Patrick H. Lauke
Chris Kennon wrote: I yet to devise an elegant solution centering all elements within div#innerContainer. Would a gifted Standardista offer an elegant backward compatible solution? div#innerContainer { text-align: center; } div#innerContainer * { margin-left: auto; margin-right: auto; } ?

Re: [WSG] Centering Elements

2008-04-09 Thread russ - maxdesign
Try this explanation: http://www.maxdesign.com.au/presentation/center/ HTH Russ on 10/4/08 8:31 AM, Chris Kennon at wrote: Hi, I yet to devise an elegant solution centering all elements within div#innerContainer. Would a gifted Standardista offer an elegant backward compatible solution?

Re: [WSG] Centering Elements

2008-04-09 Thread Chris Broadfoot
Patrick H. Lauke wrote: Chris Kennon wrote: I yet to devise an elegant solution centering all elements within div#innerContainer. Would a gifted Standardista offer an elegant backward compatible solution? div#innerContainer { text-align: center; } div#innerContainer * { margin-left: auto;

Re: [WSG] Centering Elements

2008-04-09 Thread Spirit Q.9 Gaming
Hi Patrick, don't know your way can work fine with IE? margin: 0 auto; or the margin-left: auto; margin-right: auto; just the same for horizonal center. But i think it needs text-align: center for working with IE. If you use text-align: center; just use text-align: left at which you need its