Visible:: Do not cut content nor add scroll bars. If you explicitly declare this default value, the object will be clipped to the size of the window or frame that contains the object. and the Clip property setting will fail. Auto: This is the default value for the Body object and Textrea. Cut content and add scroll bars when needed Hidden: does not display content that exceeds the size of the object. Scroll: Scroll bars are always displayed.
Instance
body {Overflow:hidden;} div {overflow:scroll; height:100px; width:100px;} css
<!doctype HTML Public-//w3c//dtd XHTML 1.0 strict//en "HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-STRICT.DTD" <html xmlns= "http://www.w3.org/1999/xhtml" <head> <meta http-equiv= "Content-type" content= "HTML; Charset=utf-8 "/> <title>jzread.com</title> <style type=" Text/css " #yc { Width : 180px; height:100px; Overflow:hidden; } </style> </head> <body> <div id= "YC" <table cellspacing= "0" cellpadding= "0" <tr> <td>jzread.com Professional div Tutorials jzread.com Professional div Tutorials jzread.com Professional div Tutorials </td> </tr> <tr> <td>jzread.com Professional div Tutorials jzread.com Professional div Tutorials jzread.com Professional div Tutorials </td> </tr> <tr> <td>jzread.com Professional Div Tutorials jzread.com Professional div Tutorials jzread.com Professional div Tutorials </td> </tr> </table> </div> </body> </ Html> &NBSP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.