GooRu Posted January 23, 2011 Share Posted January 23, 2011 Hi...I'm having an issue controlling the width of my content areas. I have set the height and that works complete with scroll bar. but my width does not work, evert page has a horizontal scroll bar.this what I am using#mainmiddle {max-height: 500px;max-width: 450px; overflow:scroll;} I's like to have the scroll dismissed vertically when it is not necessary (currently is always there) and the horizontal scroll bar to go away completely.anyone? Link to comment Share on other sites More sharing options...
cousineaug Posted January 23, 2011 Share Posted January 23, 2011 #mainmiddle {max-height: 500px;max-width: 450px; overflow:scroll;}try addingoverflow-y: auto;overflow-x: hidden;but overflow x and y is not very well supported to my knowledge. Link to comment Share on other sites More sharing options...
Rough Divide Posted January 23, 2011 Share Posted January 23, 2011 Try: #mainmiddle {max-height: 500px;max-width: 450px; overflow: auto;} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.