'overflow-x' Example : overflow x « CSS « HTML / CSS






'overflow-x' Example

    
<html>
<body>
<div style="overflow-x:auto; 
     background-color:#ccccff; width:200; height:50">
     This div element has an overflow-x property value of auto. 
     This div element has an overflow-x property value of auto. 
     This div element has an overflow-x property value of auto. 
     This div element has an overflow-x property value of auto.           
</div>

<div style="overflow-x:scroll; 
     background-color:#ffffcc; width:200; height:50">
     This div element has an overflow-x property value of scroll.
     This div element has an overflow-x property value of scroll.
     This div element has an overflow-x property value of scroll.
     This div element has an overflow-x property value of scroll.               
</div>
</body>
</html>

    
      
      








Related examples in the same category