[web] HTML: Simulate Word's "tight" textbox layout setting

Started by
1 comment, last by BeanDog 18 years, 4 months ago
I want to make a little box on the right-hand side of a page at an absolute location that the text of the page wraps around, like this:

+-------------------------------+
|The main body of the page      |
|should just wrap    +---------+|
|around the little   |Some text||
|box on the right,   |goes here||
|without moving it or+---------+|
|going behind it, like this.    |
|                               |
|How do I make it do this?      |
|                               |
|Thanks,                        |
|                               |
|                               |
|                               |
|~BenDilts( void );             |
+-------------------------------+
Advertisement
Does it have to be an absolute location? It's really easy to do with a "float: right" css style on the box, but that would put the box where ever the document flow is. Not sure how to make that into an absolute position.

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

Right as usual, Sander. Thanks! Just what I needed.

This topic is closed to new replies.

Advertisement