Previous Message
Next Message

Equal-height columns & IE.

Sent by Linda Antonsson on 16 October 2004 17:05


Bruno Fassino wrote:

> Yes, a comment at the top would put IE6 in quirks mode.
> This seems to stop the IE6/Win lock up, but I'm not sure it is the best
> solution, since you will have anyway the problem to subtract the padding in
> the script for some browsers, but not for all.

True, although Mozilla at least works fine whether you subtract the 
padding or not, at least when using the second script.

> It's probably better to apply the script to elements not having (vertical)
> padding. Can you rework your page and move those paddings to the internal
> elements? (This will probably trigger some margin collapsing, so you may
> have several things to change.)

Hmm, that's a possibility. Thanks. :)

> It seems to me this is a problem with both scripts: once you have narrowed
> the window if you enlarge it again the columns' height does not reduce back
> (unless you do a refresh of course.)
> And looking at the scripts a bit more, I'm not convinced at all that is
> possible to get with them a page working well in all conditions, when you
> resize the window. (the scripts assign a 'not auto' height to the columns,
> so their heights do not follow the content anymore when you resize the
> window.)  I'm starting to think that more work is needed than those scripts
> do.
> Sorry for the bad news :(

Ahh, okay, I think I see. Guess more work is definitely needed to, if 
possible, get those scripts to cover all bases. :) I really appreciate 
the insight into this, though, even if its bad news for now.

> 
> Yes, I unsterstand.  You have to find a working solution you are most
> confident with.
> I confess (I know many will disagree here :-) that I will also take into
> account a solution using a table (you won't need the script, nor complex CSS
> techniques.)  Evaluate all the possibilities and then choose.

Up until a year or so ago, I used only pretty complex table layouts (in 
fact, my site is still full of them), and they definitely have their 
advantages if you want to control the grid. But it is also true what the 
advocates for CSS layout say: its an awful lot easier to work with a 
pure CSS page. With the table designs, I pretty much stuck to one or two 
pre-made layouts to avoid having to think about it whenever I did 
something new.

Fortunately, I have some time to play around with this and try the 
various solutions that have been suggested. :)

Linda


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: