标签:style blog color strong div html line htm
1. html中只有竖直滚动条
1 { 2 overflow-y:scroll; 3 overflow-x:hidden; 4 }
或者:
<body scroll="no" style="overflow-x:hidden">
2. 没有垂直滚动条
1 { 2 overflow-y:hidden; 3 overflow-x:scroll; 4 }
或者:
<body scroll="no" style="overflow-y:hidden">
3.没有滚动条
{ overflow:hidden; }
或者:
<body scroll="no" style="overflow-x:hidden;overflow-y:hidden">
或
<body scroll="no" style="overflow:hidden">
标签:style blog color strong div html line htm
原文地址:http://www.cnblogs.com/ddfighting/p/3894804.html