当前位置: 首页 > 工具软件 > Table Library > 使用案例 >

html table of,TABLE - HTML Tables

荀振国
2023-12-01

Some browsers (in particular, the 1.x, 2.x and 3.x versions of Netscape) do not

honor the ALIGN attribute on a table with a value of CENTER. For these browsers, enclose

the entire table in a CENTER or

tag.

The downside of the above workaround is that on browsers that do

not support tables, but do support centered text,

the contents of the table will be rendered as centered. In

some cases, this can be "fixed" by enclosing the contents of the

table cell with something like

.

Avoid using pixel widths for a table. They force that the browser

window is sized to a particular width to see the entire table, which

is not always desirable, let alone possible. However,

the first version of Internet Explorer does not support the WIDTH

attribute with a percentage value.

Tables are often used for page layout purposes. This is not

recommended, since it totally screws up the display for browsers which

do not support tables, and it also often gives awkward results on small

screens.

Earlier drafts of HTML 3.2 allowed the BORDER attribute to be

given without value (and then the value defaulted to 1). The final

version only permits BORDER=n.

The HTML 3.0 draft did not include the values for the

BORDER attribute, so browsers which use this table model might draw

a border around your table when you use BORDER=0.

An empty table cell is typically drawn differently than a non-empty

cell. If you need a table cell with non content, but with the same

appareance as a non-empty cell, put " " in the cell.

 类似资料: