What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Custom HTML object restrictions

Votes:

0

Hello,

I've been having trouble setting up text where I want it to be. Another KB article says we need to use the custom html object to add text to maps. This works okay in the middle of the map, but not for text at the top of the screen.

I have to set up a title at the very top of the map. With the html object, it seems impossible as the text I entered in the "html before" section gets placed below the object's box when it is at it's minimum height of 40px. Because of this, there is always a bar of unused space at the top of the screen that could be used for better placement of the other objects on the map.

This is a problem in all our many maps. How can this be fixed ?

Thank you

custom-html maps prtg

Created on May 20, 2016 2:52:29 PM



Best Answer

Accepted Answer

Votes:

0

I think you're using the wrong map object - are you using [Custom HTML] > [Custom HTML Object]? And could you also try to use span instead of p?

Created on May 23, 2016 12:30:26 PM by  Stephan Linke [Paessler Support]



5 Replies

Votes:

0

Do you mean the gap covered by the red line?

image

Or is yours placed even lower?

Created on May 23, 2016 11:39:05 AM by  Stephan Linke [Paessler Support]



Votes:

0

It seem you are able to do what I want. Mine is placed a lot lower.

When I place text as a title in the map editor, it gets placed below the object box.

Here is an example : the title "Réseau Hiddenhausen" should be inside the box. Because it isn't and because I can't reduce the object any further, a 40px space on top is wasted.

example

Since it is a title, it need to be large. I did a research on how to do that in html and I found that <p style="font-size:"> is what I need.

This space is much larger in my editor and maps than in your example, I don't know why.

Created on May 23, 2016 12:02:48 PM



Accepted Answer

Votes:

0

I think you're using the wrong map object - are you using [Custom HTML] > [Custom HTML Object]? And could you also try to use span instead of p?

Created on May 23, 2016 12:30:26 PM by  Stephan Linke [Paessler Support]



Votes:

0

That was it !

I am indeed using the [Custom HTML] > [Custom HTML Object], but the span instead of p replaced the text inside the object's box. example-fixed

Good to know for all the HTML newbies like myself !

Thank you very much

Created on May 23, 2016 1:51:40 PM



Votes:

0

Ha :) It almost escaped me as well ;)

Created on May 23, 2016 2:11:33 PM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.