noslenwerd — 2011-07-26T18:39:34-04:00 — #1
I know I took a shortcut by making my menu bg part of the entire bg image, and best case would be to make it the bg of the menu, but i digress.
You will see the outside of my menu buttons are about 2px off vertically when viewing in ie. Can't figure out why really. Any ideas?
Print - Municipal Resident Directory and Map
ralphm — 2011-07-26T20:11:24-04:00 — #2
The menu looks fine in IE9 to me.
craig9001 — 2011-07-27T11:30:38-04:00 — #3
I don't know the technical reason why this is happening but it is probably something to do with the specific line height being applied the nav elements and IE7 calculating something differently.
Just whack in some IE7 conditionals and remove 2/3px of the padding/margin as a quick fix.
Or do it properly with an extra div at the top containing the logo with a min-height declaration which determines where the nav starts.
jf_ishere — 2011-09-22T20:34:37-04:00 — #4
The problem may be that IE 7 and lower positions the dropdown different from other browsers. You may need something like "left:0; top:xx;" to make the positioning work the same in all browsers.