I know to bring outer border line I can do it with css coding: #main { background: #FFFFFF; border: 1px solid #E7EBF0; } But what if it is a table layout html page? How to show outer border lines on the outskirts of the entire page? I tried with border="1', it didn't help.
I think you have made some small mistake please write your style in the table tag. For example <table border=8 cellpadding=8 cellspacing=2 bordercolor="#663300">. This should be working. Then put the correct syntax into the style sheet.
No, I do not want to use css in this case. My question is how to bring outer-border line on html coded page which has 5 tables in it? Like I said, I tried using border="1" but it didn't help. So how to solve this tiny problem?
Create a container table around your table like so: <table border="1px"> <tr> <td> <table><tr><td>this is my first table</td></tr></table> <table><tr><td>this is my second table</td></tr></table> <table><tr><td>this is my third table</td></tr></table> <table><tr><td>this is my fourth table</td></tr></table> <table><tr><td>this is my fifth table</td></tr></table> </td> </tr> </table> HTML:
Well, that solution gives me outer boarder lines on each of the tables separatly, one by one. That's not I am looking for. I need the outer-boarder lines (the very outer) of the whole page itself.
Give your table a class <td class="firstTable"> </td> Then add your style sheet, <style> table.firstTable { border: 1px solid; } </style> Try that