From: "Pringle, Ron" <[EMAIL PROTECTED]>

> Another solution, depending on your page layout and needs, would be 
> to give
> the middle div a minimum width. Of course IE ignores that 
> declaration, but
> Stu Nicholls [0] has a solution for that if you're up for the 
> challenge.

And if you're not up to the challenge of such a large task, you can 
simply take the simple approach and use an expression.:

<!--[if lte IE 6]>
<style>
#pickyourdiv {
width:expression(parseInt(this.currentStyle.marginLeft)+parseInt(this.currentStyle.marginRight)-document.body.clientWidth>=-350?"350px":"auto");
margin: 0;
}
</style>
<![endif]-->

Of course, that might be too simple and I'd hate to ruin anyone's fun 
:-)

Al Sparber
PVII
http://www.projectseven.com

"Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday".


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to