How To Prevent Div From Getting Cut Of When Resizing Window?
I have a div on the left side of the browser that shows fine, but once I resize the window's width, it gets cut off on the left side. This is fine, but the browser doesn't provide
Solution 1:
You should try adding
body{
overflow: auto;
}
This should automatically add scrollbars when something goes out of view.
Solution 2:
Body margin might be set to something like
margin-left: -10px
Or something like that. If you have been working with responsive CSS. You might have a setting with the div being positioned left so many px/%
Post a Comment for "How To Prevent Div From Getting Cut Of When Resizing Window?"