易截截图软件、单文件、免安装、纯绿色、仅160KB

html 滚动条

<html>
<head>
<mce:style type = "text/css"><!--
div
{
overflow-y:scroll;
height:200;
overflow-x:scroll;
width:200;
}

--></mce:style><style type = "text/css" mce_bogus="1"> div
{
overflow-y:scroll;
height:200;
overflow-x:scroll;
width:200;
}
</style>
</head>
<body>
<div>
<table border=1 width=300>
<mce:script type="text/javascript"><!--
for (var i = 0;i < 10 ;i++ )
{
document.write("<tr><td>");
document.write(i);
document.write("</td></tr>");
}

// --></mce:script>
</table>
</div>
</body>
</html>

需要写在div中
overlow-y: scroll;
原理:强制显示ie的垂直滚动条,而忽略水平滚动条
overflow-y: auto
原理:垂直滚动根据内容自适应


相关文档:

HTML中的Frame与Iframe框架属性

Frame框架现已不怎么常用,给个例子以展示其属性。
frame例子:
<frameset cols="50%,*">
<noframes>
<body>
Sorry,your explorer doesn't support the frame...
</body>
</noframes>
<frame name="left" src="left.html">
<frameset rows="*,30%">
<frame name=" ......

正则表达式获取HTML标记中的内容(C#)


正则表达式获取HTML标记中的内容(C#)
//=====================Begin1========================
            //试验字符串
            string strTmp = string.Empty;
    &n ......

Web开发 第一部分 HTML教程基础(十)列表

上一章我们学习了“表格”的基本用法,可以看到,表格将内容以行列方式进行组织布局,可以让网页的阅读者非常容易的获取到信息。
这一章我们介绍两种列表,所谓列表就可以看作为表格的一列,可以把一类内容组织在一起。
有了前面的基础,列表很好掌握,只需要记住一些标签和属性即可。
----------------
单列 ......

coolite control add the html tag

I always consider the coolitm control only can use its control tag in its body.
But I found that it can use html tag ,this very good.
so I show the sample to other:
<ext:Window
ID="Window1"
runat="server"
Width="500"
Height="485"
......

HTML 标签

定义和用法
<area> 标签定义图像映射中的区域(注:图像映射指得是带有可点击区域的图像)。
area 元素总是嵌套在 <map> 标签中。
注释:<img> 标签中的 usemap 属性与 map 元素 name 属性相关联,创建图像与映射之间的联系。
实例
带有可点击区域的图像映射:
<img src="planets.jpg" border=" ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号