Javascript Reference
Categories: TABLE

javascript TABLE rules

@March 15, 2008, 1:22 a.m.
rulesFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Indicates where (if at all) interior borders between cells are rendered by the browser. In addition to setting the table to draw borders to turn the cells into a matrix, you can set borders to be drawn only to separate borders, columns, or any sanctioned cell grouping (thead, tbody, tfoot, colgroup, or col). The border attribute must be presenteither as a Boolean or set to a specific border sizefor any cell borders to be drawn. Do not confuse this property with the rules[ ] collection of styleSheet objects. Scripted changes to this property do not always yield the desired results, especially in early versions of Netscape 6.

 
Example
 
document.getElementById("myTable").rules = "groups";
 
Value

Any one case-insensitive rules constant (as a string):

all

Renders borders around each cell

cols

Renders borders between columns only

groups

Renders borders between cell groups as defined by thead, tfoot, tbody, colgroup, or col elements

none

Hides all interior borders

rows

Renders borders between rows only

 
Default

none (when border=0); all (when border is any other value).

lipitor 80mg sale <a href="https://lipiws.top/">atorvastatin 80mg cost</a> order atorvastatin 80mg online
Ryhkvj - 9 months
Under moderation.
WalterEnaph - 2018-01-22
Under moderation.
RandyViews - 2018-01-22

Powered by Linode.