CSS: form width problem in IE

Posted on 2006-03-25
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?
Question by:NZ7C
    LVL 2

    Expert Comment


    Author Comment

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

    Expert Comment

    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.



    Author Comment

    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>

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    When pages do not download correctly, and you don't know why, the first thing you do is to look at the HTML source code of that page, but not all the downloaded files appear always clearly. If your source includes a javascript that computes the nameā€¦
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now