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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:28:06+00:00 2026-05-26T20:28:06+00:00

I feel noob asking this question but it seems that I cant find the

  • 0

I feel noob asking this question but it seems that I cant find the perfect answer.

I have a map and I’m trying to set few pins on it. The map is a static image and the pins are background images of a div. To set the pins on my desire location, I set its position to absolute and move the pins accordingly (top,left). Now if the window resizes, its obvious that the pins won’t stay on the map.

If I use % for top and left, the pins move with the map but the location of the pins are too specific. Something like 56px, 896px etc. so percentage isn’t helping.

Is there any other way I can do this? I wouldn’t mind using jQuery but if there is a way with CSS im more than happy.

Here is an example: http://jsfiddle.net/RKyGV/2/show/ Try to resize the window.

Thanks alot

  • 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-26T20:28:06+00:00Added an answer on May 26, 2026 at 8:28 pm

    Set position: relative on your map; place the pins as child elements of your map with position: absolute. Now their coordinates are relative to the map.

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

Sidebar

Related Questions

I feel that this question must have been asked many times before, but I
I feel like such a noob asking this but, for some reason a horizontal
This is probably a noob question that I will get slated for but here
I feel like a real noob asking this, but here's my problem: I want
I feel so noob to ask this. Now, I have rails app that is
I feel like a real noob posting this, but I can't seem to find
I feel like this is a very noob question.. but I just can't get
Okay this seems like a real noob question. I currently have a simple html
Quick question. feel like a noob but haven't found the right syntax for this
I feel really stupid for asking this but I have been thrashing for over

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.