Re: [css-d] Center liquid thumbnail gallery div

2007-09-03 Thread Jim
At 9:46 PM -0500 9/2/07, [EMAIL PROTECTED] wrote: I'm trying to center the #gallery div within the parent #main div and keep them both liquid. Would the floats have anything to do with it? container has 'float: left;' and gallery has 'float: right;'. I'm mainly guessing (that's my level of

Re: [css-d] Center liquid thumbnail gallery div

2007-09-03 Thread Scott Demontluzin
Also, I'm seeing something else. * html #wrapper { overflow: visible ; } shows the content in .thumbwrap in IE6 but pushes the wrapper over to the left and pushes the footer down. If I remove the above rule the #wrapper positions correctly but then the content in .thumbwrap is cut off by

[css-d] Center liquid thumbnail gallery div

2007-09-02 Thread Scott Demontluzin
Hi List, I'm trying to center the #gallery div within the parent #main div and keep them both liquid. I tried #gallery {margin: 0 auto;} but that did not work. Is there a way to do this? I've given #main a red background. Also, I'm using altFooterStick which is causing problems in IE 6. The

Re: [css-d] Center liquid thumbnail gallery div

2007-09-02 Thread Gunlaug Sørtun
Scott Demontluzin wrote: http://www.scottdemontluzin.com/test/sdpaintings_1.htm I'm trying to center the #gallery div within the parent #main div and keep them both liquid. First: floats can not center, and auto-margins won't work on liquid elements. Inline-elements can be centered though.