最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

table-layout Attribute | tableLayout Property

Internet Development Index

Sets or retrieves a string that indicates whether the table layout is fixed.

Syntax

HTML { table-layout : sLayout }
Scriptingobject.style.tableLayout [ = sLayout ]

Possible Values

sLayoutString that specifies or receives one of the following values:
autoDefault. Column width is set by the widest unbreakable content in the column cells.
fixedTable and column widths are set either by the sum of the widths on the col objects or, if these are not specified, by the width of the first row of cells. If no width is specified for the table, it renders by default with width=100%.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of auto. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

You can optimize table rendering performance by specifying the tableLayout property. This property causes Microsoft® Internet Explorer to render the table one row at a time, providing users with information at a faster pace. The tableLayout property determines column widths for a table in the following order:

  1. By using information in the width property for the col or colGroup element.
  2. By using information in the width property for the td elements in the first row.
  3. By dividing the table columns equally, regardless of the size of the content.

If the content of a cell exceeds the fixed width of the column, the content is wrapped or, if wrapping is not possible, it is clipped. If the tableLayout property is set to fixed, the overflow property can be used to handle content that exceeds the width of a td element. If the row height is specified, wrapped text is clipped when it exceeds the set height.

Setting the property to fixed significantly improves table rendering speed, particularly for longer tables.

Setting row height further improves rendering speed, again enabling the browser's parser to begin rendering the row without examining the content of each cell in the row to determine row height.

Example

This example uses the Cascading Style Sheets (CSS) attribute to set the table layout to fixed.

<TABLE STYLE="table-layout:fixed" WIDTH=600>
<COL WIDTH=100><COL WIDTH=300><COL WIDTH=200>
<TR HEIGHT=20>
<TD>...</TD><TD>...</TD><TD>...</TD>
</TR>
:
</TABLE>

Standards Information

This property is defined in CSS, Level 2 (CSS2) Non-Microsoft link.

Applies To

currentStyle, runtimeStyle, style, TABLE

See Also

Enhancing Table Presentation, width
读书| 大丰市| 韶山市| 常宁市| 会宁县| 武汉市| 高尔夫| 中山市| 晋中市| 酉阳| 衡阳县| 丰县| 夏津县| 德州市| 白玉县| 长垣县| 江安县| 河源市| 尼玛县| 通渭县| 柳河县| 吉林省| 惠州市| 新津县| 恩平市| 三明市| 云林县| 凤山县| 宝清县| 沙田区| 修武县| 犍为县| 榆树市| 宁化县| 库尔勒市| 乌拉特前旗| 乌拉特前旗| 南汇区| 聊城市| 武城县| 宁化县|