This exact system below (expression etc) was actually used previously but
there were problems when people resized the window. Basically content
started disappearing within the affected DIV, this was fixed by either
reloading the page or resizing the page again. Annoying because it fixed the
problem until the content started disappearing.

My previous question regarding making the middle section static
over-simplified the problem. I will do a mock up and put it live so I can
show people what I'm attempting to fix.

Thanks.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Al Sparber
Sent: 09 November 2005 17:05
To: css-d@lists.css-discuss.org
Subject: Re: [css-d] Three column layout with a static middle column

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.curren
tStyle.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/

______________________________________________________________________
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