Forum : Drawing lines below headings in a table
Brief description  about Online courses   join in Online courses
View Thangam  Nayagi 's Profile

Drawing lines below headings in a table

sir,

how to draw lines of a specific color,thickness and length for headings in a table.
Asked by Thangam Nayagi | Jan 3, 2011 |  Reply now
Replies (3)
View thangam nayagi 's Profile
For color of line we can use <hr color="green"/>
Jan 5, 2011
View thangam nayagi 's Profile
thanks sir
Jan 4, 2011
View teacher siliconindia 's Profile
Hi
Using CSS this very easy
When start CSS section you will get know,

In table you can do line this

<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26"> Your Heading here</td>
</tr>
<tr>
<td>

<!--put here one more table -->

<table width="300" style="border-bottom:2px solid #FF0000;" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>


<!--inside table close-->




</td>
</tr>

</table>

Regards

Jan 4, 2011