You are here: Forum Home / RapidWeaver User Forum / HTML, CSS, and Design Help / Thread
Hello there,
I’m trying to do a simple table with 3 columns, of 3 different widths.
I tried this:
<colgroup span='3'>
<col width='40'></col>
<col width='100'></col>
<col width='520'></col>
</colgroup>
The width changes when i increase/decrease value of each column, but does not correlate correctly, meaning the 2nd column doesn’t increase in width beyond inputting value’100’. Similar applies to 3rd column. What am i missing here? Where does this code sit in the table code below?
<td colspan='number'>
data
</td>
For some of the rows, i’d like the cell to span from Column 2 onto Column 3, so the ‘number’ in this colspan here should be ‘2’, correct? Tried that and didn’t work.
<col valign='top' />
Also, would like to vertically align TOP for all the cells, but again, cannot get it working properly.
Where do i add these variables to the code below?
<table>
<tr>
<th>Row 1</th>
<td>R1 C1</td>
<td>R1 C2</td>
<td>R1 C3</td>
<td>R1 C4</td>
</tr>
<tr>
<th>Row 2</th>
<td>R2 C1</td>
<td>R2 C2</td>
<td>R2 C3</td>
<td>R2 C4</td>
</tr>
<tr>
<th>Row 3</th>
<td>R3 C1</td>
<td>R3 C2</td>
<td>R3 C3</td>
<td>R3 C4</td>
</tr>
</table>
Thanks again!
JB
help, anyone?
So no one can help with my question here at all???
I also have space above the table, that i cannot get ride of. Have ‘ignored formatting’ already.
Also line breaks don’t seem to be working
<br>
.
Any help would be greatly appreciated.
Thanks
JB
I don’t use Tables ... but I can point you to this tutorial - see here.
Visit myRapidWeaver-The Links You’re Looking For.
Join me @ SupportCasts & MacSupportCasts
Get a Great Web Host that’s RW Friendly
{ old forum post count = 6128 }
Great, thank you! I followed this tutorial and worked out most of the kinks, but still can’t figure out why there is a space on top of the table.
Any help on this, please?
Thank you!
JB