• Resolved bschwitzer

    (@bschwitzer)


    Hi Martijn,
    I want to draw a border around the map. Do you have an example of the usage of the ‘class’ attribute?
    Regards,
    Ben

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hi Ben,

    Hm, I never thought that there could be any confusion on that. What have you tried?

    The way it’s supposed to work, and the way it seems to work for me, is simply like this:

    [tsmap user=@ class=redborder]

    And in your post’s or theme’s CSS, you write something like this:

    <style>
    .redborder { border: 5px solid red; }
    </style>

    Which gives me a 5px wide red border around the map, as I would expect,

    Doesn’t that work for you?

    Best regards,
    Martijn.

    Thread Starter bschwitzer

    (@bschwitzer)

    Hi Martijn,

    yes, it works. My mistake was that I wrote the CSS code in in the class attribute. Something like cass=”border: 5px solid red;”

    Thanks for your quick reponse

    Ben

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Usage of ‘class’ attribute’ is closed to new replies.