Jump to content
  • Advertisement
Sign in to follow this  
BeanDog

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

This topic is 4618 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 );             |
+-------------------------------+

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!