We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


CSS: form width problem in IE

NZ7C asked
Medium Priority
Last Modified: 2012-08-14
I have a 3 column layout with the folowing structure:
 <div id="wrap">
  <div id="wrap-inner">

   <div id="header">
      <div id="masthead">

<div id="main-body">
 <div id="content">
      <div id="footer">      
           <a href="http://xyz</a>
</div> <!-- end #wrap -->

The css for the wrap is:
#wrap {max-width: 1200px; min-width: 800px;}

The minimum width is ignored in IE6. If I put something other than a form in the content area IE will recognize the minimum width. In Mozilla and other browsers the minimum width is recognized. The pages are XHTML transitional compliant.  Can anyone tell me why a the minimum width is ignored by IE when I insert a form?
Watch Question


I see what you are saying but I cannot get it to do the job.

Perhaps the most famous IE and CSS problem is Internet Explorer's misinterpretation of the CSS box model, which can cause page elements to be narrower in IE.




I have solved this problem myself. As usual, the cause of the problem was carelessness.  My form file was being accessed from a seconf tieir folder where as all other files to this point had been accessed from first tier folders.  When the header file was loaded it as not able to reach the min-max.js script because I FORGOT TO ADD "../ and make it a relative path!  Sheesh.  Thanks for all the thoughts though>
PAQed with points refunded (500)

Community Support Moderator

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.