3

I'm trying to make the red text 'un-wrap' itself and use all the room available.

My code is shown below. (I've tried playing with the margin as well but no luck)

enter image description here enter image description here

1
  • Please always show code as text rather than pictures so that it is available for future searches by others with similar questions.
    – PolyGeo
    Commented Jul 27, 2017 at 22:44

1 Answer 1

6

The width of the map tip box is computed without looking at all the data content and is therefore unlikely to fit. You can however set it to a known good size:

<style>
h1 {color:red;
 width:300px;}
</style>

<h1>[% "MyField" %]</h1>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.