25th Sep 2022, 12:37 AM
Tanvir
10 Respuestas
+ 3
The problem is your use of rowspan and colspan. Since you do not include the other cells the browser takes a quess of what should go where. Hope this helps https://code.sololearn.com/Wqm26XLXLE7q/?ref=app
25th Sep 2022, 8:56 PM
Chris Coder
Chris Coder - avatar
+ 1
Yes but not clear what you want. You have already written code.
25th Sep 2022, 5:00 AM
A͢J
A͢J - avatar
+ 1
Perhaps you wanted to achieve this: <table border="2" cellspacing="5" cellpadding="10"> <tr> <td colspan="4">A</td> </tr> <tr> <td colspan="2">B</td> <td rowspan="3">C</td> <td rowspan="2">D</td> </tr> <tr> <td rowspan="3">E</td> <td rowspan="3">F</td> </tr> <tr></tr> <tr></tr> <tr> <td rowspan="2">G</td> </tr> <tr></tr> <tr> <td>End</td> </tr> </table>
27th Sep 2022, 12:21 AM
Solo
Solo - avatar
0
Like the one you linked. Is the question correct?
25th Sep 2022, 1:23 AM
Emerson Prado
Emerson Prado - avatar
0
I think correct
25th Sep 2022, 4:50 AM
Tanvir
0
Tanvir What is your expectation because according to code output is right
25th Sep 2022, 1:59 PM
A͢J
A͢J - avatar
0
A͢J { Challenge Accepted } The cell contains 'END' supposed to be in 4th row but its not
25th Sep 2022, 2:54 PM
Tanvir
0
Tanvir If you could just edit your question and write something clear...
25th Sep 2022, 9:06 PM
Emerson Prado
Emerson Prado - avatar
0
Chris Coder thnx for ur opinion. Emerson Prado thnx for try to help. I think I got my answer
26th Sep 2022, 2:12 AM
Tanvir
- 1
A͢J { Challenge Accepted } The output of written code is unexpected. I write the code right though. Pls check the output
25th Sep 2022, 1:31 PM
Tanvir