cooldude832 Posted October 12, 2007 Share Posted October 12, 2007 I think the title is pretty descriptive, but I have a div in my content area (the whole layout fills 95% of any screen so thus the content as no defined width) and this div fills up the content with a 1em padding all around, and in the css has overflow: scroll; It looks nice and all and does what I want, however I don't want the side scroll. I know if i define its width I can disable this, but I don't want to do this either any ideas? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted October 12, 2007 Share Posted October 12, 2007 firfox will only show teh scroll bar it needs, ie will show both horizontal and vertical if given overflow: scoll; what you will need is overflow-y: scroll but only in ie so either use a hack or a conditional if statement to include you ie css files Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted October 12, 2007 Author Share Posted October 12, 2007 firefox does show the sidescroll, and I will try that overflow-y thing, but I do not belive that is compliant in all browsers. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted October 12, 2007 Author Share Posted October 12, 2007 that overflow-y: scroll did the trick i think. Thanks, I checked it in ie5.5+ and FF1+ and it looks the same so I think I'm happy now 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.