最简单圆角表格的HTML代码写法

1 <fieldset style=width=100%>
2 <legend>gucs</legend>
3 Techweb.com.cn
4 </fieldset>

在techweb论坛看到了最简单圆角表格的HTML代码写法,可在FireFox下不能实现圆角效果,于是翻了一下MSDN。

FIELDSET Element
Draws a box around the text and other elements that the field set contains.
This element is useful for grouping elements in a form and for distinctively marking text in a document.

LEGEND Element
Inserts a caption into the box drawn by the fieldSet object.
The LEGEND element must be the first element in a FIELDSET.

Remark
This element is available in HTML and script as of Internet Explorer 4.0.
This element is a block element.
This element requires a closing tag.

Standards Information
This object is defined in HTML 4.0  and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

既然是标准的东西,只能说FireFox实现Frame的方式不同了。

The FIELDSET element has the same behavior as a window frame. Since window frames do not have scroll bars, assigning the overflow property a value of scroll will render it as if the value were hidden.

posted on 2006-02-12 23:04  gucs  阅读(2575)  评论(1编辑  收藏  举报

导航