adv banner
HTML and CSS  Home HTML and CSS Tutorials How do you get your text into those pretty boxes?
rss

How do you get your text into those pretty boxes?

Author: Jeff Singer More by this author
Browse Pages: << <  6  7  8  9  10 > >>


Example

This is an example of a pretty box!
Pretty boxes are created by using the TABLE tag. You can set your BGCOLOR for the entire TABLE, or just for certain cells. Yes, you can use more than one or two colors in your tables! Also, notice how you can use the CENTER and LEFT ALIGNS in your TD (cells) to make heading, etc... Take this example and have some fun!

Source code

<TABLE WIDTH="450" BGCOLOR="#B6EBFF" BORDER="3" CELLSPACING="4" CELLPADDING="4">
<TR>
<TD ALIGN="CENTER">
<B>This is an example of a pretty box!</B>
</TD>
</TR>
<TR>
<TD ALIGN="LEFT" BGCOLOR="FFFEA8">
Pretty boxes are created by using the TABLE tag. You can set your BGCOLOR for the entire TABLE, or just for certain cells. Yes, you can use more than one or two colors in your tables! Also, notice how you can use the CENTER and LEFT ALIGNS in your TD (cells) to make heading, etc... Take this example and have some fun!
</TD>
</TR>
</TABLE>

See Also:



print this page tell a friend subscribe to newsletter subscribe to rss
Rate this Material: Bad 1 2 3 4 5 Excellent
Browse Pages: << <  6  7  8  9  10 > >>

Add comments to "How do you get your text into those pretty boxes?"