Previous Message
Next Message

two liquid columns - aligned top and bottom

Sent by david gee on 16 July 2004 21:09


> At first I was real excited about this, but it seems to have some 
> trouble with resizing in IE/Windows. Might be ok with a 
> refresh-on-resize function in the page, which would be a reduction in 
> JavaScript from what I'm now using.
> 
> -J

i don't know about this specific case, but for IE-related resize issues 
I sometimes use this:

if (document.all) {
  window.onresize = function() {
   document.body.style.display = "none";
   document.body.style.display = "block";
  }
}

which causes a bit of a flicker sometimes but beats a full postback :)

actually, from what i've noticed, toggling the display of any element 
causes IE to "recalculate", so conceivably you could do it on anything 
else which might alleviate the flickering problem.... haven't tested 
that out yet, though.

david


______________________________________________________________________
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: