Table Backgrounds

Table Backgrounds

Table background can be customized as

  • bgcolor – Set background color for whole table or just for one cell.
  • background – Set background image for whole table or just for one cell.

Its usage is as follows

<table border=”1″ background=”/images/home.gif”>
<table border=”5″ bordercolor=”green” bgcolor=”gray”>

Both can take values in rgb format or hexadecimal format like #abff89. Border color can also be customized by using bordercolor attribute.

Share this post
[social_warfare]
Colspan and Rowspan Attributes
Table Height and Width

Get industry recognized certification – Contact us

keyboard_arrow_up