Herself's Webtools

Scripts, HowTos, Templates, Plugins, Widgets, Tips

Why is my table waaay down there?

with 2 comments

If post a table of information in Blogger and you look at your post and see the table way down at the bottom of the post it is because the editor added in line breaks for you.

It is ok to use tables to display tabbular information but they confuse the editors. You know that when you type a line and hit return the editor adds a line break. Well it does this for tables as well. But rather than add the line breaks inside the table it posts them all just before the table.

This can be fixed.

This will add 5 empty lines before your table:

<tr>
<td>data</td>
<td>more data</td>
<td>some junk</td>
</td>

This will add one empty line for each and every row in your table before it prints the table:
<tr><td>data</td><td>more data</td><td>some junk</td></td>

So what you have to do is take your entire table. Everything between <table> and </table> and put it all on one long line. That will remove the line breaks before your table.

The best thing to do is use your favorite non-blog editor to create and check your table. Then remove all the line breaks and test it again. Once you have no line breaks and the table is correct, just cut and paste it into the blogging software editor.

Blogger Tips and Tricks has a different Solution which he just posted this week as well

Written by Linda MacPhee-Cobb

June 25th, 2007 at 12:00 pm

Posted in blogger,HTML,wordpress

2 Responses to 'Why is my table waaay down there?'

Subscribe to comments with RSS

  1. Does blogger really do that? Weird!

    unwesen

    25 Jun 07 at 5:59 pm

  2. Yes, I was having a terrible time a few months back inserting a table. So I let it go until I had some free time to track down the solution.

    I figured since I had such a hard time finding the answer lots of other people would also be looking for a solution.

    herself

    29 Jun 07 at 7:05 pm

Leave a Reply

You must be logged in to post a comment.