New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Custom HTML object restrictions

Votes:

0

Your Vote:

Up

Down

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 by  LaurentB (0) 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  LaurentB (0) 1



Accepted Answer

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  LaurentB (0) 1



Votes:

0

Your Vote:

Up

Down

Ha :) It almost escaped me as well ;)

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



Please log in or register to enter your reply.


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.