PDA

View Full Version : Html Table, Large Space from Top


doobiefillin
11-23-2007, 03:06 AM
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
11-23-2007, 01:58 PM
Your markup is wrong. A table is like this:

<table>
<tr>
<td>Club</td>
<td>Contact</td>
</tr>
</table>

Opserty
11-23-2007, 02:36 PM
You aren't closing your <td> tags basically.

doobiefillin
11-23-2007, 03:43 PM
I closed them and still nothing...

Opserty
11-23-2007, 03:57 PM
You have loads of HTML line break tags (<br>) tags above your table:

<div align="center"><br>
<br>
<br>
<br>
<br>
...
<br>
<br>
<br>
<table border="1" width="100%">

doobiefillin
11-23-2007, 04:28 PM
Which section do I go to fix that?

Opserty
11-23-2007, 04:44 PM
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
11-23-2007, 04:47 PM
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.