The only difference is that the overflow property is set to auto instead of hidden. Many webmasters prefer to remove the scrollbars when they're not needed, but make them appear when they are needed.ĭoing this is almost exactly the same as hiding the scroll bars (as above). After all, your users can't scroll down to see your content under the fold. Hiding the browser's scrollbars is all good and well, but this can be a major usability issue. If we were to remove overflow:hidden, scrollbars would automatically appear once the content became too large. This is because we've applied overflow:hidden to the body tag. You will notice that no scrollbars appear. Try resizing your browser so that it is less than 400 pixels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |