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

  • Home
  • SEARCH
  • 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 7515383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:47:28+00:00 2026-05-30T00:47:28+00:00

How do I kill the space in the top left corner of this example

  • 0

How do I “kill” the space in the top left corner of this example and actually have the ‘text text text’ use that space, effectively wrapping over and around the placeholder div?

example of current (non-working) code: http://jsfiddle.net/bYZHd/

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style>
        #parent
        {
            background-color: Orange;
            height: 600px;
            width: 600px;
        }

        #placeholder
        {
            background-color: Navy;
            height: 500px;
            width: 100px;
            position: relative;
            top: 100px;
            left: 0px;
            float: left;
            display: inline-block;
        }
        #content
        {
            display: inline;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="parent">
            <div id="placeholder"></div>
            <div id="content">
            text text text text text text text text text text text text text text text text text text text text text
            text text text text text text text text text text text text text text text text text text text text text
            text text text text text text text text text text text text text text text text text text text text text
            text text text text text text text text text text text text text text text text text text text text text
            text text text text text text text text text text text text text text text text text text text text text
            text text text text text text text text text text text text text text text text text text text text text
            </div>
        </div>
    </form>
</body>
</html>

graphic of what I want: enter image description here

  • 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-30T00:47:29+00:00Added an answer on May 30, 2026 at 12:47 am

    I’ve done a little more research on this question and have come up with an alternate answer.

    The answer I’m using comes from here, but a more comprehensive list of possible solutions can be found from this Stack Overflow question. First though, verify that I’ve done what you wanted. http://jsfiddle.net/bYZHd/7/

    I used the solution involving a “pusher” element. Place an empty div outside the parent buffer, give it a height, float it to the left and clear it. Then the placeholder element won’t have to adjust its positioning.

    In general, wrapping text above an element is not easy to do in CSS. The answer given in the link mentions having to manually adjust the height of the pusher element using JS. But in your case, you know exactly how far you want your placeholder to be from the top, so you can just hardcode the height.

    Below is an example of the edited code

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <style>
            #parent
            {
                background-color: Orange;
                height: 600px;
                width: 600px;
            }
    
            #buffer
            {
                float: left;
                height: 80px;
            }
            #placeholder
            {
                background-color: Navy;
                height: 500px;
                width: 100px;
                position: relative;
                top: 0px;
                left: 0px;
                float: left;
                clear: left;
                display: inline;
            }
            #content
            {
                display: inline;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
            <div id="buffer"></div>
            <div id="parent">
                <div id="placeholder"></div>
                text text text text text text text text text text text text text text text text text text text text text
                text text text text text text text text text text text text text text text text text text text text text
                text text text text text text text text text text text text text text text text text text text text text
                text text text text text text text text text text text text text text text text text text text text text
                text text text text text text text text text text text text text text text text text text text text text
                text text text text text text text text text text text text text text text text text text text text text
            </div>
        </form>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This comment confuses me: kill -l generally lists all signals. I thought that a
I have text files with tables like this: Investment advisory and related fees receivable
Is there a way to kill background apps? I have an app that I
When I cut (kill) text in Emacs 22.1.1 (in its own window on X,
When trying to kill a buffer that contains changes in Emacs, the message: Buffer
How do I kill the last spawned background task in Linux? Example: doSomething doAnotherThing
I need to kill specific worker thread in my application. I don't have any
I have an application that allocates memory with 'new' and frees them with 'delete'
I want to kill all processes that I get by: ps aux | grep
I would like to kill a function that executes to long. What is important

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.