Alignment of Server names different on IE versus Firefox
I recently installed Xymon 4.3.0-o.beta2 on my Ubuntu system. The pages look great on Firefox. However, on IE all the servers are centered. I need them to be left justified like in FireFox. What do I do to fix this? Thanks!
Thomas Andersen thomas.andersen at morganmanagement.com<mailto:frank.vandeusen at morganmanagement.com> Network Systems Administrator, CCA Morgan Management LLC 1170 Pittsford Victor Road Pittsford, NY 14534 Phone: (585) 419-9630
I want to know how you made them left-justified in firefox? They are centered for me using Firefox, Chrome, IE, Safari, and Opera, and I've been using Hobbit/Xymon for a few years now, and they have always been centered in all browsers.
Jim Sloan
Just remember, today is the day you thought tomorrow was going to be yesterday.
From: THOMAS ANDERSEN <thomas.andersen at morganmanagement.com> To: "hobbit at hswn.dk" <hobbit at hswn.dk> Sent: Wed, December 23, 2009 9:28:33 AM Subject: [hobbit] Alignment of Server names different on IE versus Firefox
I recently installed Xymon 4.3.0-o.beta2 on my Ubuntu system. The pages look great on Firefox. However, on IE all the servers are centered. I need them to be left justified like in FireFox. What do I do to fix this? Thanks!
Thomas Andersen thomas.andersen at morganmanagement.com Network Systems Administrator, CCA Morgan Management LLC 1170 Pittsford Victor Road Pittsford, NY 14534 Phone: (585) 419-9630
On Wed, 2009-12-23 at 09:28 -0500, THOMAS ANDERSEN wrote:
I recently installed Xymon 4.3.0-o.beta2 on my Ubuntu system. The pages look great on Firefox. However, on IE all the servers are centered. I need them to be left justified like in FireFox. What do I do to fix this? Thanks!
The server names are always the leftmost column. Next are all kinds of information columns like conn etc. This is in a centered table. If You have many columns, it may seem as if the servernames are left justified. What happens if You make the letters appear smaller in IE?
-- Kær kveðja, Anna Jonna Ármannsdóttir, Kindest regards, Anna Jonna Ármannsdóttir http://annajonna.blogspot.com/
On Wed, Dec 23, 2009 at 11:09 AM, Anna Jonna Armannsdottir < annajonna at gmail.com> wrote:
On Wed, 2009-12-23 at 09:28 -0500, THOMAS ANDERSEN wrote:
I recently installed Xymon 4.3.0-o.beta2 on my Ubuntu system. The pages look great on Firefox. However, on IE all the servers are centered. I need them to be left justified like in FireFox. What do I do to fix this? Thanks!
The server names are always the leftmost column. Next are all kinds of information columns like conn etc. This is in a centered table. If You have many columns, it may seem as if the servernames are left justified. What happens if You make the letters appear smaller in IE?
If you look at the page source, the server name column is not justified. You can fix that for yourself in the source. In the copy I have, it's in bbdisplay/pagegen.c around line 409. Look for something like:
fprintf(output, "<TR class=line>\n <TD NOWRAP><A
NAME=\"%s\"> </A>\n", h->hostname);
Changing the <TD NOWRAP> to <TD NOWRAP align=left> ought to do it. Recompile, then copy the new bbisplay/bbgen binary over to your server/bin directory.
Your milage may vary, etc...
BTW, both Google Chrome for Linux and Firefox-3.5.6 show the server names left justified.
Ralph Mitchell
participants (4)
-
annajonna@gmail.com
-
odinn_asgaard@yahoo.com
-
ralphmitchell@gmail.com
-
thomas.andersen@morganmanagement.com