Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrapping text around a table

Status
Not open for further replies.

shmmeee

Programmer
Apr 17, 2001
104
GB
Hi,
I want to have a page with a table that has text wrapping around it like this:

text text text text text text text te
text text text text text ************
text text text text text * *
text text text text text * TABLE *
text text text text text * *
text text text text text ************
text text text text text text text te
text text text text text text text te

or something similar. I've tried using CSS but the closest I can get is to have the text overlapping the box (which isn't very close at all). Can I do what I want and if so how?

Thanks in advance,
Iain X-)
 
That didn't come out right, but you get the idea...
 
If you nest the table inside another table with two cells, a left and a right, you can place text in the left cell and the table in the right. This way you will have text and the table next to each other. Its just an extension of the table to have it above or below as well.

This is'nt ideal as you will have to split your text into different cells but I think it would work.

hope it helps

rob just when you're when you've got it all sorted.....

then somebody mentions Netscape!
 
You can also use float, which is a style property.
 
There is a CSS answer, but it may not be in the CSS! specs..(my spec sheets are all mixed up) but try -

table.inline {display: inline-table;}

Allegedly, it will display a table in the flow of text. Dean Owen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top