George and Susan Welcome to our HTML help page!
Home | HTML-Index | Basic HTML | HTML Structure

WRAP TEXT AROUND A TABLE


The ALIGN attribute allows you to wrap text around a table. This can help give your Web page a professional look.

When wrapping text around a table, use the left or right value to specify how you want the text to wrap around the table. The left value places the table on the left side of the text, while the right value places the table on the right side of the text.

If you want only some of the text to wrap around a table, use the CLEAR attribute with the <BR> tag to mark where you want to stop wrapping text around the table. Use the left, right or all value to have the text continue when the left margin, right margin or both margins are clear of tables.
Note:

You should only wrap text around small tables. Wrapping text around large tables may produce unexpected results, such as text overlapping the table.

Type this:
down
<TABLE BGCOLOR="#33CCFF" BORDER=1 ALIGN="LEFT">
<TR>
<TD>
<B>
This is the Table</B>
<BR>
you are wraping
<BR>text around.
</TD>
</TR>
</TABLE>

You can wrap text around a table in much the same way you can with images. While there are more sophisticated layout techniques, wrapping text around a table is helpful for keeping images together with captions in a long flow of text. <BR> You should only wrap text around small tables. Wrapping text around large tables may produce unexpected results, such as text overlapping the table.
<BR CLEAR="LEFT">

And you get the following:
down
This is the Table
you are wraping
text around.
You can wrap text around a table in much the same way you can with images. While there are more sophisticated layout techniques, wrapping text around a table is helpful for keeping images together with captions in a long flow of text.
You should only wrap text around small tables. Wrapping text around large tables may produce unexpected results, such as text overlapping the table.





My home page
Back to Top