title: IE 11 White Space Error
body: <p>I built a web page that renders as intended in Firefox but leaves white space in IE 11.</p>
  
  <p>The page contains a header at top, a footer at bottom, a content area and a sidebar. 
  The white space appears as a box below the sidebar.</p>
  
  <p>If I shrink the browser down the white space will go away but white space appears under the content DIV.   This doesn't happen in Firefox.</p>
  
  <p>The system won't let me post screen shots of the Firefox and IE screens or the images on t he page.</p>
  
  <p>Here is the code for the page:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Untitled Document&lt;/title&gt;
  &lt;style type="text/css"&gt;
  &lt;!--
  body {
      font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
      background: #4E5869;
      margin: 0;
      padding: 0;
      color: #000;
  }
  
  /* ~~ Element/tag selectors ~~ */
  ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
      padding: 0;
      margin: 0;
  }
  h1, h2, h3, h4, h5, h6, p {
      margin-top: 0;   /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
      padding-right: 15px;
      padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
      font-size: x-small;
      color: #FFF;
  }
  a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
      border: none;
  }
  
  /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
  a:link {
      color:#414958;
      text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
  }
  a:visited {
      color: #4E5869;
      text-decoration: underline;
  }
  a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
      text-decoration: none;
      color: #FFFFFF;
  }
  
  /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
  .container {
      width: 80%;
      max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
      min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
      background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
      height: 80%;
      margin-top: 0;
      margin-right: auto;
      margin-bottom: 0;
      margin-left: auto;
  }
  .container .footer #fMisc div p {
      font-family: Verdana, Geneva, sans-serif;
      font-size: x-small;
      color: #FFF;
  }
  
  /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
  .header {
      background: #6F7D94;
  }
  
  /* ~~ These are the columns for the layout. ~~ 
  
  1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
  
  2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
  
  3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
  
  4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
  
  */
  .sidebar1 {
      float: right;
      width: 20%;
      padding-bottom: 64px;
      height: 100%;
      font-family: "Comic Sans MS", cursive;
      font-weight: bolder;
      font-size: x-large;
      border-top-width: 0%;
      border-right-width: 0%;
      border-bottom-width: 0%;
      border-left-width: 0%;
      background-color: #93A5C4;
      background-repeat: repeat;
      margin: 0px;
      overflow: hidden;
  }
  .content {
      width: 80%;
      float: right;
      background-image: url(back1.gif);
      background-repeat: repeat;
      background-color: #CCC;
      padding-top: 0px;
      padding-right: 0px;
      padding-bottom: 10px;
      padding-left: 0px;
      height: 100%;
      overflow: hidden;
  }
  
  /* ~~ This grouped selector gives the lists in the .content area space ~~ */
  .content ul, .content ol { 
      padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
  }
  
  /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
  ul.nav {
      list-style: none; /* this removes the list marker */
      border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
      margin-bottom: 15px; /* this creates the space between the navigation on the content below */
  }
  ul.nav li {
      border-bottom: 1px solid #666; /* this creates the button separation */
  }
  ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
      padding: 5px 5px 5px 15px;
      display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
      text-decoration: none;
      background: #8090AB;
      color: #000;
  }
  ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
      background: #6F7D94;
      color: #FFF;
  }
  
  /* ~~ The footer ~~ */
  .footer {
      background: #6F7D94;
      position: relative;/* this gives IE6 hasLayout to properly clear */
      clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
      font-size: xx-small;
      color: #000;
      margin: 0px;
      padding-top: 10px;
      padding-right: 0;
      padding-bottom: 10px;
      padding-left: 0;
  }
  
  /* ~~ miscellaneous float/clear classes ~~ */
  .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
      float: right;
      margin-left: 8px;
  }
  .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
      float: left;
      margin-right: 8px;
  }
  .clearfloat { /* this class can be placed on a &lt;br /&gt; or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
      clear:both;
      height:0;
      font-size: 1px;
      line-height: 0px;
  }
  a {
      color: #FFF;
  }
  .container .footer #fMisc div p a {
      color: #FFF;
  }
  .container .footer div p {
      font-family: Verdana, Geneva, sans-serif;
      font-size: x-small;
      color: #FFF;
  }
  .container .footer div p a {
      color: #FFF;
  }
  p {
      font-size: xx-large;
  }
  p {
      color: #000;
      font-size: x-large;
  }
  .container .footer #fMisc div {
      font-size: x-small;
  }
  .container .footer #fMisc div {
      color: #FFF;
  }
  .container .content h1 {
      font-family: Verdana, Geneva, sans-serif;
      font-size: x-large;
      font-weight: bold;
      color: #000;
  }
  --&gt;
  &lt;/style&gt;&lt;!--[if lte IE 7]&gt;
  &lt;style&gt;
  .content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
  ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
  &lt;/style&gt;
  &lt;![endif]--&gt;
  
  
  
  
  &lt;script src="SpryAssets/SpryMenuBar.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div class="container"&gt;
  
    &lt;div class="header"&gt;
    &lt;img src="Pictures/logo.gif" alt="Logo" name="Insert_logo" width="81" height="63" id="Insert_logo" style="background: #8090AB; display:block;" /&gt; 
  
  &lt;!-- end .header --&gt;&lt;/div&gt;
  
  
    &lt;div class="sidebar1"&gt;
  
     &lt;img src="Pictures/back1.jpg" width="72" height="72" /&gt;&lt;p&gt; Cliff is an all breed AKC Registered Professional Dog Handler&lt;/p&gt;
  &lt;p&gt;&lt;img src="Pictures/back1.jpg" width="72" height="72" /&gt;&lt;/p&gt;
  &lt;p&gt;&lt;img src="Pictures/back1.jpg" width="72" height="72" /&gt;&lt;/p&gt;
  &lt;!-- end .sidebar --&gt;&lt;/div&gt;
  
  
    &lt;div class="content"&gt;
  
  
     &lt;ul id="MenuBar1" class="MenuBarHorizontal"&gt;
       &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;      &lt;/li&gt;
       &lt;li&gt;&lt;a href="#" class="MenuBarItemSubmenu"&gt;Kennel&lt;/a&gt;
         &lt;ul&gt;
           &lt;li&gt;&lt;a href="#"&gt;Our Facility&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;Rates&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;Pictures&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt;
       &lt;/li&gt;
       &lt;li&gt;&lt;a class="MenuBarItemSubmenu" href="#"&gt;Show Handling&lt;/a&gt;
         &lt;ul&gt;
           &lt;li&gt;&lt;a href="#"&gt;Info&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;Rates&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;Schedule&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
       &lt;/li&gt;
       &lt;li&gt;&lt;a href="#"&gt;Photo Gallery&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href="#"&gt;About Me&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href="#"&gt;Contact Me&lt;/a&gt;&lt;/li&gt;
     &lt;/ul&gt;
     &lt;br /&gt;
      &lt;h1 style="margin: 10px; clear: both; text-align:center; font-size: xx-large; font-family: Georgia, 'Times New Roman', Times, serif;"&gt;Clifford W. Steele &lt;/h1&gt;
     &lt;div style="text-align:center; font-size: xx-large;"&gt; &lt;img src="Pictures/Harley Champion001.jpg" alt="Harley Champion" width="530" height="423" border="0" /&gt;&lt;/div&gt;
    &lt;!-- end .content --&gt;&lt;/div&gt;
  
  
  
    &lt;div class="footer"&gt;
  
        &lt;div style="float:right"&gt;
          &lt;p&gt; &lt;a href="MAILTO:rickzipser@hotmail.com" &gt;Site Designed by Fredric M. Zipser&lt;/a&gt;&lt;br /&gt;
  
         &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div&gt;
          &lt;p&gt;Clifford W. Steele  Professional Handler &lt;br /&gt;
            1395 Rt. 6&lt;br /&gt;
            Carmel, NY  10512-1627&lt;br /&gt;
            United States&lt;br /&gt;
            ph:(845) 225-2463&lt;br /&gt;
            Cell:(845) 661-0010&lt;br /&gt;
          &lt;a href="MAILTO:rickzipser@hotmail.com" &gt;cliffsteele@hotmail.com&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
  
    &lt;!-- end .footer --&gt;&lt;/div&gt;
  
  &lt;!-- end .container --&gt;&lt;/div&gt;
  
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>