troubleshooting Question

Max and Min height in IE6

Avatar of Lady_M
Lady_MFlag for United Kingdom of Great Britain and Northern Ireland asked on
JavaScriptCSSWeb Browsers
5 Comments1 Solution1408 ViewsLast Modified:

I'd like this to work in IE6:

#outerWrapper {
      margin: 0 auto 0 0;
      max-width: 1280px;

I have tried adding this to my IE css file with no luck.  Could somebody explain the problem please?

#outerWrapper {
      width:expression((document.documentElement.clientWidth < 1005) ? "985px" : "auto");
      width:expression((document.documentElement.clientWidth > 1280) ? "1260px" : "auto");}

Note:  the width is -20px for the IE scroll bar.
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros