fieldset标签的使用
fieldset
fieldset标签会在包含的文本和input等表单元素外面形成一个方框,legend元素作为标题。
附:在一个网页中包含另一个页面
<object type="text/x-scriptlet" width="100px" height="100px" data="http://www.cnblogs.com/sun_moon_earth/"></object>
<style>
#cmstool {
width:100%;
border-bottom:#51bfe0 1px solid;
padding-bottom:0px;
}
#cmstool a {color:#000;text-decoration:none;font-weight:bold;margin-left:10px;}
#cmstool a:hover {color:#51bfe0;text-decoration:underline;}
#dv:hover{background:#000000;}
#cmstoolright{
float:right;
width:198px;
text-align:center;
padding-top:12px;
}
#cmstoolleft{
float:left;
padding-left:10px;
margin-bottom:0px;
padding-bottom:0px;
}
#cmstoolmain{
margin-right:200px;
margin-left:150px;
padding-top:12px;
}
</style>
<div id="cmstool">
<div id="cmstoolleft">
<IMG SRC="cmslogo.GIF" BORDER="0" ALT="">
</div>
<div id="cmstoolright">
Welcom <input type=text style="border:none" size=9 value =""> <a href="www.163.com" title="Logout">Logout</a>
</div>
<div id="cmstoolmain">
<a href="www.163.com" title="Home page">Home</a>
<a href="www.163.com" title="Edit this page">Edit</a>
<a href="www.163.com" title="Show the history of this page">History</a>
<a>||</a>
<a href="www.163.com" title="Recent Changes">Recent Changes</a>
<a href="www.163.com" title="Recent Changes">Manage</a>
</div>
</div>
<br>
<fieldset align="left" style="width:200">
<legend><IMG SRC="cmslogo.GIF" BORDER="0" ALT=""></legend>
<a href="www.163.com" title="Home page">Home</a>
<a href="www.163.com" title="Edit this page">Edit</a>
<a href="www.163.com" title="Show the history of this page">History</a>
<a>||</a>
<a href="www.163.com" title="Recent Changes">Recent Changes</a>
<a href="www.163.com" title="Recent Changes">Manage</a>
</fieldset>
<br>
<br>
<br>
<object type="text/x-scriptlet" width="100px" height="100px" data="http://www.baidu.com/"></object>