html表格边线显示
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
</title>
</head>
<body>
<table width="100%" border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF"
cellspacing="0" align="center">
<tr>
<td>1234</td>
<td>1234</td>
</tr>
<tr>
<td>1234</td>
<td>1234</td>
</tr>
</table>
</body>
</html>
相关文档:
ie通过,没写火狐部分
js部分
function setbox()
{
var thisf=this//自我复制,用于嵌入obj方法中去
this.sindex=1;this.moving=false;this.sizing=false;
this.show=function(o)
{
if(o.id)
{
if(document.getElementById(o.id))
{
var td=document.getElementById(o.id);
if(td.style ......
Html是否是标准文档往往影响js的执行效果。 比如:在IE6下 document.documentElement.clientHeight 这个函数是获取可视窗口文档高度,如果html不是标准文档 则返回值是零.而document.body.clientHeight 能返回相应的值.相反如果是标准文档 document.body.clientHeight 返回值是0;
类似的还有document.documentElemen ......
HTML中object标签的详细用法 收藏
网页用的嵌入脚本,用来播放flash文件的,object是指对象的意思
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="160">
这句说明了所使用 ......
例如 ::
A B C D
<a herf="index.asp#a1">A </a>
<a herf="index.asp#a2">B </a>
<a herf="index.asp#a3">C</a>
<a herf="index.asp#a4">D </a>
<a id="a1"></a>
<a id="a2"></a>
<a id="a3"></a>
< ......
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=" ......