<div style="height:125px;width:125px;overflow:hidden;">Overflow has other parameters as well:
overflow: auto - This will insert a scrollbar - horizontal, vertical or both only if the content in the block requires it. For practical purposes, this is probably the most useful for creating a scrolling area.
overflow: scroll - This will will insert horizontal and vertical scrollbars. They will become active only if the content requires it.
overflow: visible - This will cause the block to expand to view the content.
overflow: hidden - This forces the block to only show content that fits in the block. Other content will be clipped and not hidden with no scrollbars.
No comments:
Post a Comment