HTML Table
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, How to draw a border only for a particular column and not for the entire table? Pls help Thanks in advance Prabha
You have to use CSS within the cells of that column. For example: [table cellpadding=0 cellspacing=0 border=0] [tr] [td width=50 style='border-left:1px solid black;border-right:1px solid black;'] blah blah [/td] [td width=100] more content [/td] [/tr] [tr] [td width=50 style='border-left:1px solid black;border-right:1px solid black;'] blah blah [/td] [td width=100] more content [/td] [/tr] [/table] Of course you might want to define a style in your stylesheet for the cell with the borders and just use that as a class in the [td] HTH