View previous topic :: View next topic |
Author |
Message |
jromariz
Joined: 03 Apr 2002 Posts: 264 Location: Brasil
|
Posted: Wed Jun 05, 2002 12:11 pm Post subject: |
|
|
Hi Alex,
Is it possible to change the report font and font size ?
Regards,
Jromariz. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Wed Jun 05, 2002 1:23 pm Post subject: |
|
|
Yes, you can use "External header" option and define font style in external file. As a base for your own header you can use file "stdHeader.html" in directory "Examples"
Regards
Alex |
|
Back to top |
|
|
jromariz
Joined: 03 Apr 2002 Posts: 264 Location: Brasil
|
Posted: Thu Jun 06, 2002 12:02 pm Post subject: |
|
|
Ok,
Tanks for the tip.
Regards,
Jromariz. |
|
Back to top |
|
|
doubleu
Joined: 22 Jan 2003 Posts: 10
|
Posted: Thu Jan 23, 2003 5:18 pm Post subject: |
|
|
how exactly do you add font settings in the header that affect a normal, HTML Report for Admin? I would like the text to be in verdana 8 or 10pt rather than the default font used here: http://www.ks-soft.net/hostmon.eng/examples/rep-man.htm |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Thu Jan 23, 2003 8:20 pm Post subject: |
|
|
Just add <font face="verdana" size=5> tag into header, e.g.
<html>
<head>
<meta name="GENERATOR" content="KS-Soft HostMonitor">
<title>HostMonitor report</title>
<STYLE TYPE="text/css"><!-- a:hover { color: "#E8F7FF"; } --> </STYLE>
</head>
<body bgcolor="#00008C" text="#DFDFDF" link="#65D3FE" vlink="#65D3FE" alink="#E8F7FF">
<p align="left"><u><strong><big><big>HostMonitor Report</big></big><br>
</strong></u><font face="Arial">Generated on %Date% at %Time%</font></p>
<font face="verdana" size=6>
<div align="center"><center>
<table border="0" bordercolor="#00008C" width="100%">
About size: I think its impossible to set some specific size (like you want 8 or 10pt) because size of the fonts depends on browser. You can use numbers from 1 to 7 for size. But may be I am wrong about size, I didn't read HTML specification lately..
Regards
Alex |
|
Back to top |
|
|
doubleu
Joined: 22 Jan 2003 Posts: 10
|
Posted: Fri Jan 24, 2003 4:03 pm Post subject: |
|
|
I was just about ready to reply pleading that this isn't working, what am I doing wrong! But then I realized I've been using Phoenix instead of Internet Explorer, and for some reason it shows Times New Roman instead of Verdana.
Thank you for your help with the header! |
|
Back to top |
|
|
|