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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:33:21+00:00 2026-06-04T05:33:21+00:00

i am trying to create a page where an apartment’s floor plan will be

  • 0

i am trying to create a page where an apartment’s floor plan will be visible and while hovering over different areas.

my first approach was to create a div with the floorplan as background.
inside that div i added 100 smaller divs, all with dimensions 10%x10%. (10 accross, 10 down)

this actually displays the little rectangular divs on top of the floorplan and my idea was to have jquery display different pictures or options depending on what div the user will be hovering.

my problem with that approach was that i could not restrict the main div’s dimensions to the aspect ratio of the floorplan image, which is not convinient as i want a solution that will work for multiple plans i might upload.

my other approach is to include the image inside the main div with an img tag and display the smaller divs on top of it, but i am not able to do that with css, anything i do would put the small divs after the img

any other ideas/ways i could achieve that?
is there a way to restric the div to it’s background picture’s ratio?
what is the appropriate css for the second approach? in order to display an img tag in the background and then 100divs on top of it?

thanx in advance,
if i am not clear in my description please ask for clarifications

  • 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-04T05:33:22+00:00Added an answer on June 4, 2026 at 5:33 am

    Sounds like something an image map is made for.

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

Sidebar

Related Questions

I am trying to create a login page that will send the user to
I'm trying to create a page that, when refreshed, will randomly load a url
I have been trying to create a page using views that will list down
I'm trying to create a page with a hyperlinks that when clicked will display
I'm trying to create a page setup with two navigation areas (top and left)
I'm trying to create a page that will spit out a users invoices. I
I'm trying to create a page where a listbox will contain all my ASP.NET
I am trying to create a page to display a list of links for
I'm trying to create a page by using view 2. This page list all
I'm trying to create a page that contains a grid and searching. The issue

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.