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
原理:垂直滚动根据内容自适应
相关文档:
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"
......
Steve Jobs 在"Thoughts on Flash"一文中,谈及网络影音时,多次提到HTML5与H.264两项标准。但是,到底HTML5是什么?Flash和H.264又是什么回事?所以,本文旨在解释它们之间的关系,让大家可以初步了解。
首先,引用Steve Jobs的一段话:
Adobe一再反复宣称Apple的移动设备不能提供"完整 ......
<html>
<head>
<mce:style type="text/css"><!--
td
{
width:50;
height:50;
text-align:center;
vertical-align: center;
}
table
{
vertical-align: bottom;
}
legend
{
text-align:center;
}
fieldset
{
width:300;
......
package com.jb.y2t034.thefifth.web.servlet;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import jav ......
<html>
<head>
<mce:style type = "text/css"><!--
table
{
border-collapse:collapse;
}
td
{
border:solid 1px black;
}
--></mce:style><style type = "text/css" mce_bogus="1">table
{
border-collapse:collapse;
}
td
......