In my code I'm trying to make "Yellow" span two rows to match what I did with "orange" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In my code I'm trying to make "Yellow" span two rows to match what I did with "orange"

When I go into my code and say ``` <td rowspan="2">Yellow</td> ``` it doesn't span two rows like I want it to. I want it to be spread out vertically like orange is. Here's the code typed out and the link is at the bottom ``` <table border="1"> <tr> <td>Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td rowspan="2">Yellow</td> <td colspan="2" rowspan="2">Orange</td> </tr> <tr> <td><br/></td> </tr> </table> https://code.sololearn.com/WDv8sf04a7a0

14th Jan 2020, 3:10 AM
coolperson69
coolperson69 - avatar
2 Answers
+ 1
Hi, look, I hope this will provide the solution. https://code.sololearn.com/W8MYaBHn8O66/?ref=app
14th Jan 2020, 5:29 AM
{P~A} Programmation Addict
{P~A} Programmation Addict - avatar
+ 1
I still want the yellow to only span one column but span 2 rows. Also, explain how adding size affected the boxes
14th Jan 2020, 7:30 PM
coolperson69
coolperson69 - avatar