KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Changing Report Font and Size

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Wed Jun 05, 2002 12:11 pm    Post subject: Reply with quote

Hi Alex,

Is it possible to change the report font and font size ?

Regards,

Jromariz.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Wed Jun 05, 2002 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Thu Jun 06, 2002 12:02 pm    Post subject: Reply with quote

Ok,

Tanks for the tip.

Regards,

Jromariz.
Back to top
View user's profile Send private message
doubleu



Joined: 22 Jan 2003
Posts: 10

PostPosted: Thu Jan 23, 2003 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Thu Jan 23, 2003 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
doubleu



Joined: 22 Jan 2003
Posts: 10

PostPosted: Fri Jan 24, 2003 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index