Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4081846
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:06:49+00:00 2026-05-20T18:06:49+00:00

I have this code: http://jsfiddle.net/5RbrL/ As you can see, the text doesn’t go over

  • 0

I have this code: http://jsfiddle.net/5RbrL/

As you can see, the text doesn’t go over the .box div. I would like to achieve the same, but the .box div should be attached to the bottom of the container.

First thing I tried was setting the container’s positioning context to relative and making .box absolute, but this takes it out of the document’s flow and text is placed underneath .box, which is exactly what I don’t want to happen.

I do not know the height of the container, as it will depend on the amount of text inside it.

Is there any way to make the text fill the entire container, but leave the bottom right square empty (for a background graphic)?

[EDIT]

I apologise for not phrasing my question clearly: I would like the text to wrap around the .box.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:06:49+00:00Added an answer on May 20, 2026 at 6:06 pm

    Unfortunately what you ask can’t be done with pure CSS.

    You need a specific height to be able to float/position elements in this manner.

    You could get around it be adding more elements, but this isn’t preferable as then you’d have to invent some way to spread the last parts of text over to the empty element.


    Well you could fake it by adding another element and somehow injecting the last lines of text into it.

    Other than that, without a specific height I am not sure there is a real way to do it. HTML should come up with some kind of pathing system 😀

    __

    After some thinking and experimentation I have an easier solution, just include the element within the text (inside the <p>.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code : http://jsfiddle.net/Qchmqs/BSKrG/ <div class=step><-- this is darned wrong <div id=step2><a>Darn</a></div>
I have this code here http://jsfiddle.net/RzBeM/65/ you will see two input fields called quantity.
I have following code (live: http://jsfiddle.net/xyZY8/1/ ): var str = '<div>hello</div><ul><li>Some text...</li>' + '<li>second
I have this code I'm working on, see link: http://jsfiddle.net/PqsAD/3/ The problem is depending
I have this code: http://jsfiddle.net/cmF4S/3/ <div style=float: left; position: relative;> <input type=text placeholder=Search... style=float:
I have this code, please observe this fiddle: http://jsfiddle.net/VjhJ4/19/ When you hover over the
I have nearly finished writing this code: http://jsfiddle.net/2Jkk9/11/ but I can't figure out how
I have this code : http://jsfiddle.net/VAkLn/6/ When i add a table : http://jsfiddle.net/VAkLn/7/ this
I have this code: http://jsfiddle.net/bUPWS/1/ but #div2 overflows #div1. How to bring the overflowed
All of this is code is here: http://jsfiddle.net/yrgK8/ I have a news section which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.