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 8084441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:48:01+00:00 2026-06-05T17:48:01+00:00

I have a well div, and I would like to attach a small text/image

  • 0

I have a well div, and I would like to attach a small text/image at the corner, as shown here (http://draw.to/D46BqsC)…and have that element be placed relatively to the well, so that it changes position as the well does. What is the best approach? Thank you!

  • 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-06-05T17:48:03+00:00Added an answer on June 5, 2026 at 5:48 pm

    You can use position: absolute to make an element position itself in an absolute location relative to its parent (in this case the well). The only catch is the parent element has to be something other than static, so your well might need to be contained in something else.

    .my-well {
        position: relative;
    }
    
    .my-well span {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    <div class="well my-well">
        <span>xxx</span>
    </div>​
    

    http://jsfiddle.net/YPcLy/

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

Sidebar

Related Questions

I have a background image on a div and I would like to change
I have a small menu div that i would like to keep in the
I have this mockup page. The accordion works well but I would like to
I have a container div and would like to place three div tags within
Well i have a transparent div or the background is set to transparent :)
I have a bunch of elements like the following: <div class=droppableP id=s-NSW style=width:78px; height:63px;
I am trying to do a basic div layout and would like to use
I have a div that holds a bunch of thumbnail images. Each image has
I would like to replace a image with another image when a link is
I have the following style applied to my div element: background-image: -moz-radial-gradient(50% -10%, ellipse

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.