Hi All,

I'm still having a few problems with my mix/max width expression in IE6.

Currently, my #mainwrap is:

#mainwrap {
position:relative;
width:99%;
min-width:780px;
max-width:950px;
margin:0 auto;
text-align:left;
font-size:95%;
}

And my IE6 expression is:

#mainwrap {width: 780px /* fallback value */;
width:expression(((document.compatMode && 
document.compatMode=='CSS1Compat') ? 
document.documentElement.clientWidth : 
document.body.clientWidth) 
> 1024 ? "950px" : (((document.compatMode && 
document.compatMode=='CSS1Compat') ? 
document.documentElement.clientWidth : 
document.body.clientWidth) < 800 ? "782px" : "99.7")); }

I'm having trouble in declaring a value for when the site is between 950
and 782px and I'm yet to find a happy medium. At the minute, everything
below my #pNav seems to jump out of the rest of the site and only
returns when the browser hits 782px - which I know is how it's intended
to work. My problem is finding a value to replace 99.7%.

I would be most grateful if someone could have a look at where I'm going
wrong.

The website in question is www.midlandsco-op.com/xmas and the CSS can be
found at http://www.midlandsco-op.com/xmas/css/master.css and
http://www.midlandsco-op.com/xmas/css/ie.css

Hope someone can help.

Regards,
Brett


The contents of this e-mail and any attachments are confidential to the 
intended recipient. If you are not the intended recipient please do not use or 
publish its contents, contact Midlands Co-operative Society Ltd. immediately on 
+44 (0) 1543 414140 and delete it.

Although this e-mail and any attachments are believed to be free from any virus 
or other defect it is the responsibility of the recipient to ensure that they 
are virus free.



This message has been scanned for viruses by BlackSpider MailControl - 
www.blackspider.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to