Page 110 - Plus V4 with Adobe class 7
P. 110
Using Padding Property
The padding property is used to specify the space around the content of a cell and the border of the
cell in a table. For example:
<style>
table, th, td
{
border:2px;
border-style:solid;
border-color:green;
border-spacing:15px;
padding:15px
}
</style>
Using Background-color Property
The background-color property is used to specify the colour for the background in a table on the web
page. You can apply colour in a cell, row or entire table. For example:
<style>
table, th, td
{
border:2px;
border-style:solid;
border-color:green;
background-color:orange;
}
</style>
Using Color Property
The color property is used to specify the text colour.
For example: Hintbot
<style> Add title attribute (title = “title_name”) to
table, th, td the table cell to add tooltip.
{
border:2px;
border-style:solid;
border-color:green;
108 Plus (Ver. 4.0)-VII

