Zoe M. Gillenwater wrote: > Philippe Wittenbergh wrote: > >> On Feb 15, 2007, at 12:39 PM, Gunlaug Sørtun wrote: >> >> >>> I have moved leftcolumn into the bottom of contentwrapper, but the >>> source-order is otherwise the same and nothing is added or >>> subtracted... >>> <http://www.gunlaug.no/tos/alien/Zoe/test_2882.html> >>> ...so, maybe it'll do. >>> > >> For the large image (applies to IE6 on narrow windows) I wrap the >> image in a box: >> .img {margin:0 -200px 0 0; position:relative; height:0;} >> /* right margin equivalent to size of sidebar */ >> >> > > I'm not seeing the need for this -- the layout holds together fine in > narrow windows for me. What is this supposed to do? >
Ok, so it's supposed to stop IE6 from expanding the div to hold the photo, right? But I actually like this sometimes, and wish I could use display: table-cell on the div for other browsers to get them to do the same thing. > By the way, do any of you think we're ready to start using display: > table layouts, and just feed IE the alternate CSS for these negative > margin layouts? I've written article about it, but I haven't ever used > it for a real site. I'm getting ready to complete rebuild two big sites > that will probably not get rebuilt for several years after this, so I > want to choose my layout method wisely. > Hmm, I guess it wouldn't work for a page with a left sidebar, unless I change the source order so that the left column comes first in the source, which I don't want. I guess it's a good reminder why table layouts stunk: no control over source order, just cell after rigid cell. :-) Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ 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/