Add A Border Around Blog Post Text - HTML Code Auto Sized To Length






Putting a border around certain text in a blog post is essential for websites like mine that give HTML code snippets in a tutorial form.  I use this text box in many of my blog posts when I am demonstrating different HTML codes.


1.  Simply copy this code:
2.  Paste the above code into the HTML of a new blog post.
3.  Edit the text and the height will adjust itself to the length of the text in the box!

<table border="1" bordercolor="#0099FF" cellspacing="0" style="width: 370px;">
    <tbody>
<tr>
        <td height="1" valign="top"><span style="font-family: Verdana; font-size: x-small;">Text here...</span></td>
      </tr>
</tbody>
  </table>

0 comments:

Download Dan

ZOLAI