代码示例:(标识:css_overflow-x5)
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf8" />
<link rel="stylesheet" type="text/css" href="/static/demo/html/css/cc.css" />
<script type="text/javascript" src="/static/demo/html/css/cs.js"></script>

<script type="text/javascript">
<!--
function test_demo_val(strValue)
{

var strId="MyDIV"

document.getElementById(strId).style.overflowX=strValue;

document.getElementById("CodeValue").innerHTML=strValue;
}
//-->
</script>

<style>
#MyDIV
{
margin:10px;
border:1px solid black;
background-color:#f1f1f1;
}

#MyDIV
{
width:150px;
height:200px;
overflow-x:visible;

}
</style>

</head>

<body>
<!--wrapper-->
<div id="wrapper">

<div id="SelArea">
<h2>CSS 属性:</h2>

<h3>overflow-x:</h3>				

<form action="javascript:return false;">
<ul>
<input type="hidden" id="PreSelectedValue" value="no-display" />
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_1" value="visible" />visible</li>
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_2" value="hidden" />hidden</li>
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_3" value="scroll" />scroll</li>
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_4" value="auto" />auto</li>
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_5" value="no-display" />no-display</li>
<li><input autocomplete="off" type="radio" name="rpos" onClick="test_demo(this)" id="value_6" value="no-content" />no-content</li>
</ul>
</form>

</div>

<div id="result">
<h2>结果:</h2>

<div id="DemoArea">
<div id="MyDIV"><img src="/static/demo/images/redstar.gif" /></div>
</div>

<h2>CSS 代码:</h2>

<pre id="CodeArea">
#MyDIV
{
width:150px;
height:200px;
overflow-x:<span id="CodeValue">visible</span>;
}
</pre>
</div>

</div><!--wrapper End-->
</body>

<script type="text/javascript">tiy_onload()</script>

</html>
运行结果: