Set the table
Have you ever been frustrated with the appearance of HTML tables posted to your Vox blog? This issue nearly drove me around the bend because I would inevitably end up with a lot of extra, unwanted space, particularly at the top of the post above the table. (Being a perfectionist, this would not do.) Well, I figured out how to solve this problem, and the solution is surprisingly simple.
This is how I would normally code a simple table; but if this is pasted into Vox and the HTML markup is translated, the results are unattractive:
<table width="100%" border="0">
<tr>
<td>content of the first cell</td>
<td>content of the second cell</td>
</tr>
</table>
However, if you format it as follows, without any line breaks between elements, it works like a charm:
<table width="100%" border="0"><tr><td>content of the first cell</td><td>content of the second cell</td></tr></table>
I'm posting this over at Ross's new group, Hack the Planet, a place to share tips, tricks, hacks, etc. Check it out.
Comments