title: How to create a resizable horizontal navigation menu?
body: <p>Question: What's the best way to create a horizontal menu with drop down capabilities that can be dynamically resized? (Or preferably, how can I edit my current menu to behave like that?)</p>
  
  <p>Explanation: I'm using a thin, horizontal drop-down menu as the main navigation on my site. When the browser window is at full width, there are no problems, but when it is resized, the right-most link pushes down to the next line, as it is floated.</p>
  
  <p>Horizontal menus are such a common thing, I know there have to be some common tricks and ways to create them so that they can be dynamically resized. So if trying to fix my current menu is too burdensome, I would be fine just to hear some tips or read some stuff on how to create better horizontal menus.</p>
  
  <p>Here is what I think would be the main problem:</p>
  
  <pre><code>.menu2 li {
      position: relative;
      float: left;
      width: 150px;
      z-index: 1000
  }
  </code></pre>
  
  <p>I've tried different combinations of making this inline and making other tweeks, such as making the 150px width into a percentage, but that would create all sorts of alignment issues with the text.</p>
  
  <p>Here is a demo with all of the code now: <a href="http://jsfiddle.net/HSVdg/1/" rel="nofollow">http://jsfiddle.net/HSVdg/1/</a></p>
  
  <p>Some notes on the above link:</p>
  
  <ol>
  <li><p>I am using Tiny Drop Down 2 (<a href="http://sandbox.scriptiny.com/tinydropdown2/" rel="nofollow">http://sandbox.scriptiny.com/tinydropdown2/</a>) for drop-down functionality (in the form of JS and CSS, which are noted in comments), though the drop down is not actually working in the jsfiddle. I'm pretty sure all of the JS is irrelevant to my main question.</p></li>
  <li><p>Tiny Drop Down uses a lot of CSS, so it's been quite difficult for me to try and make little tweeks.</p></li>
  <li><p>The buttons are not vertically lined up with the actual bar, but again this is not the main issue since this is not happening on my actual site.</p></li>
  <li><p>The window size in the jsfiddle doesn't actually accomodate the entire length of buttons, so you immediately see the problem of the buttons moving to the next line.</p></li>
  </ol>