HTML: can someone explain how to fix this simple code ?
#1
HTML: can someone explain how to fix this simple code ?
<table border="1" width=100%>
<tr>
<td colspan=2>hello</td>
</tr>
<tr>
<td width=800px>hello1</td><td>hello2</td>
</tr>
<tr>
<td width=200px>hello1</td><td>hello2</td>
</tr>
</table>
1st row works fine
2nd row, first cell is 800pixels in width - works fine
3rd row, first cell is 200pixels in width - doesn't work
<tr>
<td colspan=2>hello</td>
</tr>
<tr>
<td width=800px>hello1</td><td>hello2</td>
</tr>
<tr>
<td width=200px>hello1</td><td>hello2</td>
</tr>
</table>
1st row works fine
2nd row, first cell is 800pixels in width - works fine
3rd row, first cell is 200pixels in width - doesn't work
#2
Hello
You can't have columns of different widths. The only way you can do that is split the row into more columns and use the colspan that you inexplicably used on the first row.
Steve
You can't have columns of different widths. The only way you can do that is split the row into more columns and use the colspan that you inexplicably used on the first row.
Steve
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM