• The new WDWMAGIC iOS app is here!
    Stay up to date with the latest Disney news, photos, and discussions right from your iPhone. The app is free to download and gives you quick access to news articles, forums, photo galleries, park hours, weather and Lightning Lane pricing. Learn More
  • Welcome to the WDWMAGIC.COM Forums!
    Please take a look around, and feel free to sign up and join the community.

HTML Table Leaves Spaces

fjm777

Active Member
Original Poster
Whenever I try to use an HTML Table is put lots of space before the table. What wrong? Should I be using different tags?

Thanks.
 

Captain Hank

Well-Known Member
Hmm, in what context? Are you trying to use HTML in the forums or on a website? (I'm not an HTML expert, but I do have some coding experience).
 

TheOneVader

Well-Known Member
I don't know exactly what you're talking about since I don't know what the code is or even what the table looks like, but try putting cellpadding="0" or cellspacing="0". That may solve your problem.
 

wannab@dis

Well-Known Member
fjm777 said:
Whenever I try to use an HTML Table is put lots of space before the table. What wrong? Should I be using different tags?

Thanks.

sounds like you have some other code between the row tags. Anything outside the row or cells will be placed above the table starting point.

PHP:
<table>
	 <tr><td>cell one</td></tr><br>
	 <tr><td>cell 2</td></tr>
</table>

The "br" tag between the rows in the example above would be added above the table instead of between the rows.
 

fjm777

Active Member
Original Poster
I talking about making a table in a post. I didn't have any other tags just the proper table ones and when I submitted my post it put the table way down the page leaving a lot of space.

Well I cant even get a table to appear in this thread. I used the HTML above and it just showed the html not the table. Maybe I'm crazy.

Let me ask it this way. If I want to put a table into a post how do I do it.

Thanks.
 

wannab@dis

Well-Known Member
HTML is turned off in this thread. It's shown at the bottom of the page on the left. The table I posted should work fine, but you will need to remove the "br" tag. Give it try on the test boards.
 

ogryn

Well-Known Member
make sure there is no white space in your post. If the board supports it, do the code like:
Code:
<table><tr><td></td></tr></table>

instead of

Code:
<table>
<tr>
     <td></td>
</tr>
</table>

I think it's because the forum automatically interprets Line Break characters as <br /> tags.
 

Register on WDWMAGIC. This sidebar will go away, and you'll see fewer ads.

Back
Top Bottom