Wednesday, October 20, 2004

 

Couldn't blogger be a little smarter?

So I fixed my blog's issue of having an enormous amount of blank space before any tables I added. The problem was that blogger was a little less than bright, in my estimation, in the way in which it attempted to help the blogist by inserting <br>s and <p>s. Specifically, if you added a table to your post like so:
<table>
<tr><td>foo</td><td>bar</td></tr>
</table>

Then blogger turned it to:
<br/><table>
<br/><tr><td>foo</td><td>bar</td></tr>
<br/></table>

Prefixing each line with a <br> because your post contained a hard return at the end of each line.

The real solution to this problem is to tell blogger to stop trying to help.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?