PDA

View Full Version : Html Table, Large Space from Top


doobiefillin
23 Nov 2007, 05:06
I'm using HTML to create a table on one of my pages.
The more rows I use, the larger the space from the top grows.

How can I fix this?

http://my514.com/index.php?pageid=guestlist

My Code:
<table border="0" width=100%>
<tr>
<td>Club
<td>Contact
<td>Friday
<td>Saturday
<td>Phone #
</tr>
<tr>
<td>1234
<td>Alejandro Rosales
<td>
<td>X
<td>(514)651-6909
</tr>
<tr>
<td>
<td>Sir Speedy
<td>X
<td>X
<td>(514)999-6756
</tr>
<tr>
<td>
<td>Marko
<td>X
<td>X
<td>(514)258-6008
</tr>
<tr>
<td>
<td>Rob
<td>X
<td>X
<td>(514)297-5647
</tr>
<tr>
<td>737
<td>Mendez
<td>X
<td>
<td>(514)944-4252
</tr>
<tr>
<td>
<td>Hugo
<td>
<td>X
<td>(514)777-8577
</tr>
</table>

Analogpoint
23 Nov 2007, 15:58
Your markup is wrong. A table is like this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Opserty
23 Nov 2007, 16:36
You aren't closing your <td> tags basically.

doobiefillin
23 Nov 2007, 17:43
I closed them and still nothing...

Opserty
23 Nov 2007, 17:57
You have loads of HTML line break tags (<br>) tags above your table:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

doobiefillin
23 Nov 2007, 18:28
Which section do I go to fix that?

Opserty
23 Nov 2007, 18:44
I don't know...its your custom page.

I depends what mod you are using to generate the page, it maybe you just need to edit a template or something. Try looking in the same place that you added the code for the table or something.

doobiefillin
23 Nov 2007, 18:47
I went in edit Module, but that's not the right place.

I need the place to view the HTML coding of the page... because now I have a BBCode Module and I added the html code as the content.