Wrapping Text Around A Table - HTML, XHTML, & CSS, Sixth Edition

Skip to main content

Get full access to HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide and 60K+ other titles, with a free 10-day trial of O'Reilly.

There are also live events, courses curated by job role, and more.

Start your free trial

Wrapping Text around a 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.

To wrap text around a table with (X)HTML:

1. In the table tag, either type align="left" to align the table to the left of the screen while the text flows to the right, or type align="right" to align the table to the right of the browser window while the text flows on the left side of the table (Figure 16.23).
Figure 16.23. I’ve added some text that the table can float in. When you align a table to the right, the text flows to the left. Notice also that in the markup, the table comes ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Start your free trial

Don’t leave empty-handed

Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.

It’s yours, free.

Get it now
Cover of Software Architecture Patterns
Close

Check it out now on O’Reilly

Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.

Start your free trial Become a member now
Close

Từ khóa » Html Wrap Text Around Image In Table