David & Roberto, I appears that I need both solutions. Roberto, yours will keep the column centered perfectly and minimizes maintenance. David, yours allows me to use equal length columns while retaining a flexible layout.
>The purged code would be as follows:< Thanks you Thank you both! Jack -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Gorjão Sent: Wednesday, June 13, 2007 5:10 PM To: CSS-d Subject: Re: [css-d] How can I Center the Middle Column? Off course, there were errors in the solution I presented that I'm sure you've noticed already and for which I apologize, namely: - Needless position:relative in the centered column: it would only be needed if this column were to contain other absolute positioned content. - Needless float:left and float:right in the side columns: float has no effect when applied to positioned elements. The purged code would be as follows: <body style="text-align:center"> <div style="position:relative; width:80%; text-align:center; margin:0 auto;"> <div style="position:absolute; width:25%; left:0; top:0;">This is column 1</div> <div style="width:40%; margin:0 auto;">This is column 2, the one I want centered between 1 & 3</div> <div style="position:absolute; width:25%; right:0; top:0;">This is column 3</div> </div> </body> Anyway, I'm glad I could help! Roberto ------------------- Jack Toering wrote: > Roberto: > Thank your for responding. > > >> Am I right?< >> > > It's perfect! I never thought of using position:absolute that way. > Since you've broadened my thinking, you've opened up a whole lot of > other possbilities where I can use this same concept. > > Thanks Tons! > Jack > > -- -------------------- Roberto Gorjão freelance designer and web designer personal site: www.castelosnoar.com PORTUGAL / BRAGA / PÓVOA DE LANHOSO ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
