Yeah I'd noticed this with the server titles - on Linux they're perfectly centred, on Windows they're slightly off-centre (high). The difference between the two is 2px.
How annoying! I've found a JS/CSS hack that will allow you to set styles based on browser and OS, so I'm going to try implementing this. Andy. Robin-David Hammond %KB3IEN wrote: > > makes sense, windows is always 2 px off in all font renders. > > On Thu, 2 Nov 2006, Andy Shellam (Mailing Lists) wrote: > >> Date: Thu, 02 Nov 2006 14:36:24 +0000 >> From: "Andy Shellam (Mailing Lists)" >> <[EMAIL PROTECTED]> >> To: Hugo van der Kooij <[EMAIL PROTECTED]> >> Cc: Nagios Users mailinglist <[email protected]> >> Subject: Re: [Nagios-users] Nagios Looking Glass >> >> Hugo, >> >> Re: your issue with NLG on Linux: >> >> Can you re-visit http://looking-glass.andyshellam.eu and check the >> services display now? I believe it was due to the line/font height >> differences in Linux to Windows - the service "title bar" was 20px, >> which was fine on Windows. On Linux, the text below the title bar was >> trying to wrap back up to the previous line. >> >> I've increased the service title bar height to 22px and seems to be fine >> - I've just got to modify the background height to 22px so on Windows >> you don't get the 2px of whitespace. This was tested on Firefox 1.5.0.7 >> on Fedora Core 6. I've also changed the font attributes to "sans-serif" >> so it renders in the appropriate fonts on both platforms. >> >> Thanks, >> >> Andy. >> >> Andy Shellam (Mailing Lists) wrote: >>> The Nagios Looking Glass has now been established on NagiosExchange >>> (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) >>> >>> >>> >>> The project, when at release-candidate status (~end November), will be >>> published there under the GPL with full documentation. >>> In the meantime, if anybody wants to test it out before-hand, you can >>> see it at http://looking-glass.andyshellam.eu, or contact me personally >>> (remove "-lists" from my e-mail address, to obtain a copy. >>> >>> I'm getting closer to solving the issue with the metrics display on >>> Linux - I have no idea why it's so messed up in Firefox for Linux when >>> it works in Firefox on Windows :S but it seems to be something do with >>> the 'float' attributes on the metric DIVs (although the server DIVs are >>> unaffected by this :S ) The strangeness.... >>> >>> I've noticed a few visitors have used Konqueror - are any of these >>> people on this list? How did it look? Can anyone feedback how it >>> behaves in Opera? >>> >>> Many thanks, >>> >>> Andy. >>> >>> >>> ------------------------------------------------------------------------- >>> >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> >>> >> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > Robin-David Hammond KB3IEN > +1 347 350 34 00 > > > !DSPAM:37,454a02d640411571821223! > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
