title: 1 pixel line height difference between Firefox and Chrome
body: <p>Working on a new site design in asp.net with master pages. Header of the page is a 35px tall "menu bar" which contains an asp menu control rendered as an unordered list.</p>
  
  <p>The selected menu item is styled with a differenct colored background and 2px border around the left top and right sides. The bottom of the selected menu item should line up with the bottom of the menu bar so the selected "tab" looks as if it flows into the content beneath. Looks fine in firefox and IE but in chrome the "tab" seems to be 1 pixel higher than the bottom of the menu bar.</p>
  
  <p>Just wondering if there is some sort of bug I dont know about. </p>
  
  <p>I realize that you will most likely need code to help with this problem so ill post up the css as soon as possible.</p>
  
  <p>EDIT:</p>
  
  <p>here is the css for the menu...</p>
  
  <pre><code>div.hideSkiplink
  {     
      width:40%;
      float:right;
      height:35px;
  }
  
  div.menu
  {
      padding: 0px 0px 0px 0px;
      display:inline;
  }
  
  div.menu ul
  {
      list-style: none;
  }
  
  div.menu ul li
  {
      margin:0px 4px 0px 0px;
  }
  
  div.menu ul li a, div.menu ul li a:visited
  {
    color: #ffffff;
    display: block;
    margin-top:0px;
    line-height: 17px;
    padding: 1px 20px;
    text-decoration: none;
    white-space: nowrap;
  }
  
  div.menu ul li a:hover
  {
    color: #ffffff;
    text-decoration: none;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: none;
    border-left: 1px solid #fff;
  }
  
  
  
  
  div.menu ul li a:active
  {
   background:#ffffff !important;
   border-top:2px solid #a10000;
   border-right:2px solid #a10000;
   border-bottom: none;
   border-left:2px solid #a10000;
   color: #000000 !important;
   font-weight:bold;
  
  }
  
  
  div.menu ul a.selected
  {
    color: #000000 !important;
    font-weight:bold;
  }
  
  div.menu ul li.selected
  {
   background:#ffffff !important;
   border-top:2px solid #a10000;
   border-right:2px solid #a10000;
   border-bottom: none;
   border-left:2px solid #a10000;
  }
  
  div.menu ul li.selected a:hover
  {
    border: none;
  }
  </code></pre>
  
  <p>The selected classes are added to the li and a elements via jquery...</p>
  
  <p>Here is a screenshot of the problem...
  The chrome example is on the top and u can see 1px of red border below the tab. 
  On the bottom is the firefox image where everything looks OK.</p>
  
  <p><img src="https://i.stack.imgur.com/bNCKV.png" alt="alt text"></p>
  
  <p>EDIT:</p>
  
  <p>After playing around with this a bit more, I have discovered that it is actually the "header" div itself that is growing by 1px in chrome... This seems very strange to me.</p>