Jump to content

Mapbox Block position Absolute vs Relative

Recommended Posts

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 comment
  • Replies 1
  • Views 788
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.