DHTML Lab - DHTML Diner - Element Page Coordinates, Part 2 | 8 | WebReference

DHTML Lab - DHTML Diner - Element Page Coordinates, Part 2 | 8


Determining Element Page Coordinates, Part 2
IE for Windows and TABLEs

FRAME

The FRAME attribute is described in the HTML 4.0 specification and the MSDN in detail.

UseControls the visibility of the border sides (frame) surrounding a table.
i.e. it affects the outer border lines
Syntax<TABLE BORDER=1 FRAME="value">
Values
voidno sides of the table display the border
aboveonly the top side of table displays the border
belowonly the bottom side of table displays the border
hsidesonly the horizontal sides (top and bottom) of the table display the border
lhsonly the left side of table displays the border
rhsonly the right side of table displays the border
vsidesonly the vertical sides (left and right) of the table display the border
boxall four sides of the table display the border
borderall four sides of the table display the border
Examples The table you are reading has these attributes: <TABLE BORDER=1 FRAME="HSIDES">

The tool on the next page allows you to view all combinations of table attributes and values.

RULES

The RULES attribute is described in the HTML 4.0 specification and the MSDN in detail.

UseControls the visibility of the border lines (rules) between table cells.
i.e. it affects the inner border lines
Syntax<TABLE BORDER=1 RULES="value">
Values
allall inner border lines are displayed
rowsonly the horizontal inner border lines (between rows) are displayed
colsonly the vertical inner border lines (between cols) are displayed
noneno inner border lines are displayed
groupsborder lines are displayed between all table group elements.
i.e. horizontal lines are displayed between THEAD, TBODY, and TFOOT elements.
and vertical lines are displayed between COLGROUP elements.
Examples The table you are reading has these attributes: <TABLE BORDER=1 RULES="ROWS" FRAME="VOID">

The tool on the next page allows you to view all combinations of table attributes and values.


On the next page, we'll look at how these attributes affect the retrieval of an element's offset positions.



Produced by Peter Belesis and

All Rights Reserved. Legal Notices.
Created: Oct 07, 2002
Revised: Oct 07, 2002

URL: https://www.webreference.com/dhtml/diner/realpos2/7.html