0

How can i change the width of the colums, if i want them to be same size? is there better way to do it? <table border="2"> <tr> <td width="100px">Red</td> <td width="100px">Blue</td> <td width="100px">Green</td> </tr>

28th Jul 2016, 5:06 PM
MJo
MJo - avatar
4 Réponses
+ 5
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <table> <td style="width:80px;"> <td> cell one </td> <td> cell two</td></td></table> </body> </html>
29th Jul 2016, 4:25 AM
Angelina Hansen
Angelina Hansen - avatar
0
Yours is the only !
29th Jul 2016, 1:17 AM
Mr. Youssef Hammouch
Mr. Youssef Hammouch - avatar
0
Thank you Angelina! I knew there is an easier way! Just didn't know where to put it... thanks!! :)
29th Jul 2016, 4:29 AM
MJo
MJo - avatar
0
And now i realized that i can also use td width in CSS sheet... 👍👍
29th Jul 2016, 4:37 AM
MJo
MJo - avatar