Porl123 Posted April 14, 2010 Share Posted April 14, 2010 I've got a div for my navigation bar with a fixed height, which has another div inside containing the links of my website. What it's meant to do is when the inside div gets too long the outer div is supposed to have a scrollbar, and it works fine for every browser but IE. Here's the css of the outer div: #mainNav1 {float: left; height: 496px; width: 180px; border: 1px solid #111; overflow-x: hidden; overflow-y: auto; font-size: 10px; text-align: center; padding: 0px;} Can anyone point out my mistake? Thanks Quote Link to comment Share on other sites More sharing options...
haku Posted April 14, 2010 Share Posted April 14, 2010 I believe IE doesn't recognized overflow-x and overflow-y. You can only set overflow. Quote Link to comment Share on other sites More sharing options...
Porl123 Posted April 14, 2010 Author Share Posted April 14, 2010 Yeah, it's a pain in the arse because when you allow both to scroll, the horizontal bar accounts the vertical bar as part of the div width in IE, so I can't get rid of the horizontal bar. I'll just have to live with it. D: Thanks anyway! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.