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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:37:09+00:00 2026-06-06T22:37:09+00:00

I have a small problem which i can’t seem to figure out. I tried

  • 0

I have a small problem which i can’t seem to figure out.
I tried searching this problem but i can’t seem to find a solid answer.

Look at this example:
Fiddler

It’s pretty straightforward. I have a div which is centered on the screen.
This div contains an image and i want to put another image on top based on XY positions.
(Normally i get these XY positions from a database but just for the clarity of this example i hardcoded them).

When i run the code my image stands next to my first image. I added the z-index but that doesn’t seem to work. I read on some posts about relative z-indexing not working but can someone help me out on how to do this?

Thank you all in advance.
Kind Regards,
Luuk86

  • 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-06T22:37:11+00:00Added an answer on June 6, 2026 at 10:37 pm

    To position an element using X Y positions you should use position: absolute;

    If you want to position it inside another element, add position: relative; to the container.

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

Sidebar

Related Questions

I have a small problem which I can't seem to find a solution to.
i have a small problem here which i cannot fix,This post goes through but
I got a small problem that I can't figure out. I have a superclass
I have a small problem which i can't seem to solve myself. Look at
I've got a seemingly small problem using LaTeX, which i can't find the answer
I have a small problem, looked here & other forums, but could not find
Dear community members, I have a small problem, which involves a text input field
Problem: Have made a small mail program which works perfectly on my developer pc
I have a small problem where I want to find the next active item
I have a small problem. My app has a database which stores lazy loaded

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.