TABLE BORDERCOLOR
by Florence W Deems

Sometimes we want a border to show around a table and sometimes we don't. The way to make the structure of the table itself invisible is to use the attribute

bordercolor="color-of-page-bgcolor."

This way neither the border nor the cellspacing lines will show up, if you include them in the table tag.



T O N E B Y T O N E


T O N E B Y T O N E


The first table has the following in the table tag:

<table width="600" bordercolor="white" border="1" cellspacing="2" cellpadding="2">

The next table has a bordercolor of "red".

The reason the lines don't show
in the first table is due to the
bordercolor="white"
which is the same color as the page bgcolor.


- - - - - - - -


In the table above, I made the
border width="2" and the cellspacing="6"
I also cut out two of the cells to compensate
for the wider cellspacing.

<table width="600" bordercolor="red" border="2" cellspacing="6" cellpadding="10">

W3C Schools CSS Borders. Please also see Image Art Gallery and Table Art Gallery for more codes.


Thursday 19th of October 2017 11:21:37 PM

See Flo's Other Tutes

by
~ Arbor Hosting ~