Good morning Gunlaug, It was foretold that on 24/10/2008 @ 06:35:22 GMT+0200 (which was 02:35:22 where I live) Gunlaug Sørtun would write:
<snipped a bit> > Delete 'width: 18em' on #puller2 and let that float default to 'width: > auto' and shrink-wrap. Delete 'margin-left: 1em' while you're at it. > That will give you the most stable line-up, at the right edge of #main-top. When trying to correct it myself yesterday, i indeed used the 'width:auto' but ofcourse forgot about the margin-left. Works like a charm!! >> I also have a float drop in IE: resizing drops the whole content >> beneath the nav. Have i messed up my math somewhere? > Think so :-) > It is the percentage (not 100%) that makes it a little harder to > calculate trigger-points. > A quick test gives me these values for near-flawless operation on 96dpi > resolution screens... > * html #container{ width:expression( > (document.documentElement.offsetWidth) >(830/12) > * parseInt(document.body.currentStyle.fontSize)? "48.75em" > : ((document.documentElement.offsetWidth) <(600/12) > * parseInt(document.body.currentStyle.fontSize)? "34.75em" : "96%")); } > I raised min-width to 34.75em because IE6 has a tendency to drop content > too early on narrow windows. Darn, i recalculated all my widths yesterday except for the expression. Never thought that would be culprit. On the hand it's the first time i used that technique so i hope i'll be forgiven ;-) Guess i need to read your excellent article again :-) > That expression do not work well on other screen-resolutions than 96dpi > - the most widespread one that IE6 may be found on at the moment, and > there's not much I can do about that since resolution can't be easily > checked and used as a variable in expressions. Oh well, for me it suffices ... i guess if we want to consider all possible screen resolutions out there and users that change default font size etc.... we'll be in the magic business :-) -- Best regards, Luc _________________________ Using the best e-mail client: The Bat! version 4.0.18 with Windows XP (build 2600), version 5.1 Service Pack 2 and using the best browser: Opera. "Doctors automatically know what's wrong with you. They have a sick sense." - Beau M., age 10. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/