0
Beginner html: cell ends up outside of table
Hi, noob question. Im playing around with creating tables. The table is turning out the way that I want it to except for the first cell of the table containing the word "I'm" somehow ends up outside of the table and stands on it own. What am I doing wrong here? How do I get to be inside the table with the rest? <table border="10" align="center" bgcolor="blue> <tr> <td bgcolor="blue">i'm</td> <td bgcolor="yellow">a</td> <td bgcolor="purple">table</td> <td bgcolor="green">look at me</td> </tr> </table>
5 Réponses
0
This will be in first row of tables. Give some colour to border.
0
Thanks for the answer. I already added bgcolor="blue" to <table. It doesn't really change anything?
0
Add rowspan to <table> solved it!
<table border="10" align="center" bgcolor="blue" rowspan= “4">
Now all cells are displayed correctly in one table.
0
Thanks! This also works