Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Mapbox Block position Absolute vs Relative


Thadd

Question

Site URL: https://www.ese-llc.com/harwichma

I have added the code for a mapbox map in my site.  https://www.ese-llc.com/harwichma
Position: relative results in the map on the site.  It works, the click is in the right spot but there is a gap between the ads and the map.
Position: absolute results in the map being tight to the ads (which is what I want) but the click is offset by what would appear to be the gap difference.  Somewhat annoying to click a parcel and get something to the north.
Any thoughts?

Land Surveyor with some of the latest technology who is utilizing the same to modernize a local cadastre.

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

I figured it out.  I stuck with relative and changed the margin-top to -175px.

Land Surveyor with some of the latest technology who is utilizing the same to modernize a local cadastre.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...