Friday, July 6, 2007

How to Add a Border Around a Paragraph:


<p style=" border-right: black thin solid;
border-top: black thin solid;
border-left: black thin solid;
border-bottom: black thin solid;">Hello</p>

For a border around words:

<span style=" border-right: black thin solid;
border-top: black thin solid;
border-left: black thin solid;
border-bottom: black thin solid;">Hello</span> World!

Change the color to whatever you want.

No comments: