fieldset和legend制作边框
需要注意的一点
legend一定在fieldset的第一句中。
例:
<FIELDSET ID=shop style="width:200;">
<legend>经典论坛</legend>
<form name="form1" method="post" action="">
<p align="left">
<input type="checkbox" name="checkbox" value="checkbox" id="dw">
<label for="dw"><span style="font size:12px">DW专栏</span></label>
</p>
<p align="left">
<input type="checkbox" name="checkbox2" value="checkbox" id="fw">
<label for="fw"><span style="font size:12px">FW专栏</span></label></p>
<p align="left">
<input type="checkbox" name="checkbox3" value="checkbox" id="flash">
<label for="flash"><span style="font size:12px">FLASH专栏</span></label></p>
</form>
<span style="font size:12px"><font color="#990000">此边框为默认风格</font></span><br>
</fieldset>
需要注意的一点
legend一定在fieldset的第一句中。
例:
<FIELDSET ID=shop style="width:200;">
<legend>经典论坛</legend>
<form name="form1" method="post" action="">
<p align="left">
<input type="checkbox" name="checkbox" value="checkbox" id="dw">
<label for="dw"><span style="font size:12px">DW专栏</span></label>
</p>
<p align="left">
<input type="checkbox" name="checkbox2" value="checkbox" id="fw">
<label for="fw"><span style="font size:12px">FW专栏</span></label></p>
<p align="left">
<input type="checkbox" name="checkbox3" value="checkbox" id="flash">
<label for="flash"><span style="font size:12px">FLASH专栏</span></label></p>
</form>
<span style="font size:12px"><font color="#990000">此边框为默认风格</font></span><br>
</fieldset>