Jump to content

DIV with no scrollbar


Porl123

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/198484-div-with-no-scrollbar/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.