0

What if we want to add border and also align a table?

8th Sep 2016, 8:45 PM
Mahima Gupta
6 Réponses
+ 1
<!--You use align the table as shown below--> <!--As for double border, you can style your html table with CSS--> <!--The first align attribute is for the table--> <!--the second is for the text in a cell within the table--> <body> <table border="2" align="center"> <tr> <td>Cell text not aligned</td> <td align="right">Cell text aligned to the right</td> </tr> </table> </p> </body>
8th Sep 2016, 10:17 PM
Sam Gebra
Sam Gebra - avatar
0
yes
8th Sep 2016, 10:22 PM
OHM PATEL
0
rr
8th Sep 2016, 10:22 PM
OHM PATEL
0
@wasim is there a specific order? First add border and then align it or nothing lkke that?
9th Sep 2016, 6:08 AM
Mahima Gupta
0
You can achieve it by using rowspan
10th Sep 2016, 3:38 AM
Sukumar Chandrasekar
Sukumar Chandrasekar - avatar
0
???
10th Sep 2016, 1:03 PM
aripaja