1 reply [Last post]
Srcn
Offline
newbie
Last seen: 17 years 45 weeks ago
Joined: 2004-10-05
Posts: 3
Points: 0

Hi,

I have some content inside a container DIV being automatically created by a script. Unfortunately, the paragraphs are inside a table. I want to float another DIV to the right of this content (inside the container DIV), but have the text inside the tables flow around it, even though it overlaps the table itself. I can't however place this flow inside the table, because it comes from a script. My problem is, that if I float this div, the table style (with width: 100%), just adjusts so that the table is small enough to fit next to the DIV, and so no text flows underneath the DIV. Is there a way around this? Have a look at www.dhikra.com

I've tried using absolut and relative positioning too, doesn't work.

Thanks.

chris_sw
Offline
Enthusiast
Leeds, UK
Last seen: 17 years 47 weeks ago
Leeds, UK
Joined: 2004-09-21
Posts: 115
Points: 0

Text within a table flowing around float

Sadly, no - a table is a block level element, so will be treated as a single rectangular block of content and won't be able to flow around your right floated div.

All I can think of is to alter the original script so it doesn't output tables or writing a new script to strip out the table tags