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

x

CSS: form width problem in IE

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

   <div id="header">
      <div id="masthead">
        <h1>abcdefghijk.....</h1>
       </div>  
    </div>

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

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?
Thanks.
Comment
Watch Question

Author

Commented:
I see what you are saying but I cannot get it to do the job.
CERTIFIED EXPERT

Commented:
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.

http://www.webcredible.co.uk/user-friendly-resources/css/internet-explorer.shtml

Regards,

Author

Commented:
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>
Commented:
PAQed with points refunded (500)

GranMod
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.

OR

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.