Jump to content

Max Width and Max Height


GooRu
 Share

Recommended Posts

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

#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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...