• I have created a map with Leaflet with about 30 flags. For every flag Leaflet creates a separate scrpit-tag. And between the script-tags, it creates a br-tag.
    And because all this code appears under the div-class=leaflet-map…block, I end up with about 1000px whitespace under the map caused by all the br-tags.
    Any idea what’s wrong?
    Thank you,
    Daniel

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor hupe13

    (@hupe13)

    Either you write several shortcodes in a row without newlines or you use an extra shortcode block for each one.

    Thread Starter danielmarsch

    (@danielmarsch)

    Thanks so much, that helped! I just wasn’t aware that a linebreak in the shortcode actually produced a br in the html…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘br-tags in script-code cause huge whitespace’ is closed to new replies.