Home |  About Us |  Contact |  Articles

Put text in a box, sample code



At times it may be necessary to bring additional attention to certain areas of text on a webpage. This is easily accomplished by putting the text in a box.

For example:

This is the text that needs to be set apart and given a little extra attention. It's pretty easy to do, as you'll see when you try it.


The sample code for this box is:

<table align="center" border="1" bordercolor="red" frame="box" rules="none" cellpadding="10" bgcolor="cornsilk" width="60%" style="border-collapse: collapse">
<tr><td align="left">
This is the text that needs to be set apart and given a little extra attention. It's pretty easy to do, as you'll see when you try it.
</td></tr>
</table>

Note:The <table> tag provides the ability to change border width (border="1" and style="border-collapse: collapse") , border color (bordercoler="red")and background color (bgcolor="cornsilk").


Have a question or Comment
or need some help?
Fill in the form below and we will get back to you as quickly as possible.
We may also be reached by phone at 612-871-6089
Name:
Email:
Questions or Comments




Home |  About Us |  Contact |  Articles