PDA

View Full Version : M'kay, Need Help.



bonzeet
02-06-2007, 08:42 PM
I cant seem to insert colloms (I cant spell) into my tables :S.

To be true, Its quite annoying.
Here is my code (minus values):

<table height='-' width='-'>
<tc>
<tr>
<td bgcolor='-' style='border:1 solid black'>-</td>
</td>
</tr>
<tc>...
and then it goes wrong!

Any help???

Ini
02-06-2007, 08:48 PM
wth is <tc>?

L!nK
02-06-2007, 08:51 PM
Maybe because that code is really wrong.

bonzeet
02-06-2007, 08:54 PM
Er... can someone show me a basic code for a 4cols and 5rows table :P

L!nK
02-06-2007, 08:55 PM
<table height='-' width='-'>
<tc>
<tr>
<td bgcolor='-' style='border:1 solid black'>-</td>
</td>
</tr>
<tc>...
and then it goes wrong!
<table height="" width="">
<tr>
<td bgcolor="" stle='border:1 solid black'>""<</td>
</tr>I thnk thats the correct code



<table width="200" border="1">
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>I think thats it?


Edited: Sorry i just updated the code, the first one i did, not yours ;)

bonzeet
02-06-2007, 09:01 PM
Thanks dude +Rep!

Ini
02-06-2007, 09:06 PM
<table height='-' width='-'>
<tc>
<tr>
<td bgcolor='-' style='border:1 solid black'>-</td>
</td>
</tr>
<tc>...
and then it goes wrong!
< table height="" width="">
<tr>
<td bgcolor="" stle='border:1 solid black'>""<</td>
</tr>I thnk thats the correct code



<table width="200" border="1">
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th scope="row">&nbsp;</th>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>I think thats it?

shouldn't <th> be <td>?

<td rowspan="" colspan="">content</td>

L!nK
02-06-2007, 09:07 PM
No, its fine ;)

Ini
02-06-2007, 09:08 PM
No, its fine ;)

Ok never used <th>

L!nK
02-06-2007, 09:09 PM
I think its correct, I'm still learning ;[

Johno
02-06-2007, 09:10 PM
I know a code was already posted that worked but here you go anyway :


<table width="200" border="1">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

Just generated it in DW (Took me like 20 mins because my computer sucks :P)

Ini
02-06-2007, 09:18 PM
I know a code was already posted that worked but here you go anyway :


<table width="200" border="1">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

Just generated it in DW (Took me like 20 mins because my computer sucks :P)

thats the code i would have used.

Want to hide these adverts? Register an account for free!