1

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

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

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>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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