I know that this has been asked a million times before, but nothing that I have tried has solved the problem. I’m working on a nice looking <select> type thing. I’m basing it off of common CSS drop down navigation menus (using nested <ul>s and <li>s, just with a few tweaks. One of the tweaks is that I need it to display inline (without floating it because it goes past any other elements in the same line as it, and I don’t want to float everything else around it). I’ve got it working well in the browsers besides ie 7 (and probably anything lower, but I don’t need anything lower than ie7). Here is the code: http://jsfiddle.net/ralokz/hjDVS/2/
If you look at that in any non-ie7 browser, it looks like how I want it to:

But if you look at it in ie7, it looks like this:

One site that I saw come up a lot for the inline-block fix is this: http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/. That worked for ie8, but unfortunately ie7 still doesn’t look right.
Is there any other way to fix inline-block for ie7? Or, is there a CSS alternative to make sure the the second level <li>s are always vertically aligned with the the first level <li>? Thanks!
Add:
position:relative;todiv.dropdown ul li, get rid of the margins ondiv.dropdown ul li uland set it’stop:25px,left:-1px;,width:100%; finally, setdiv.dropdown ul li ul litomargin:0;delete the left-right padding, and setwidth:100%…I might have missed something, but here’s a working example: http://jsfiddle.net/hjDVS/7/
I think your real problem was the absolutely positioned
ul