An HTML-only table with a 1-pixel border.

An interesting note about HTML is that you cannot create a table with a 1-pixel border without using CSS. This is fine and dandy until you need to send out 10,000 richly-formatted corporate emails where CSS style rendering on the user end can be entirely unreliable due to the universe of email clients and their subsequent settings. (IE: CSS disabled.) Here is the solution; code heavy, yes, but it works.

Visual example:


Your code:

<table border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
</table>

Try again.

home