Crappy web browser checking.

if (is.ie && !is.ie3) theSheet="ie.css";
else if (is.win && is.nav4up) theSheet="nn_pc.css";
else if (is.mac && is.nav6up) theSheet="nn6_mac.css";
else if (is.mac && is.nav4up) theSheet="nn4_mac.css";
else if (is.win && is.ie3) theSheet="ie3_pc.css";
else if (is.linux && is.nav4up) theSheet="nn_lx.css";
else theSheet="ie.css"; // default for everyone else

So we take the ie.css route which uses too small fonts.

This code in particular:

    // PLATFORM
    this.win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1)
);
    this.mac    = (agt.indexOf("mac")!=-1);
    this.linux = (agt.indexOf("inux")!=-1);

Sucks


Blame zdnet.


"Gregory L. Marx" wrote:

> FYI ...
>
> I'm running RC3 but this happens with ALL builds of Mozilla that I
> have used ...
>
> When reading TalkBacks at http://www.zdnet.com the font displayed is
> extremely tiny ... as if it doesn't respect what I've set via
> Mozilla's Preferences ...
>
> So I end up using the Zoom function via the VIEW menu ... setting it
> at 162% ... makes the pages readable but not too bold ...
> Anyway, what happens is when I click on a RESPOND to link the
> resulting page ends up using a fontsize that is 162% of my Preferences
> settings ... which is normally 16point for proportional fonts and
> 13point for fixed-width fonts ... so everything is HUGE and the HTTP
> control used for imputting a response responds very strangely when
> typing text ... mainly the cursor seems to be not located properly so
> you can't always tell exactly where you are in the text as you are
> editting/composing the response ...
>
> I've lived with it previously because I wasn't using Mozilla too much
> ..
> But with the RC releases Mozilla has pretty much become my default
> browser ...
>
> Finally, what makes this more troubling is that under Windows 2000 at
> work Mozilla displays everything fine ... using RC3 as well ...
> No font size problems at all (or at least within that ZDNet family of
> sites ... can't speak for the WHOLE web in general :-)
>
> It's probably too late to do anything for the GA release but maybe
> after that ...
> If it helps to have screenshots just let me know ...
>
> TIA
> Gregory L. Marx
>
> PS - I know EVERYONE seems to hate ZDNet but with the demise of
> InfoWorld's old Forums I find ZDNet's Talkbacks to be the best UI for
> a web-based discussion forum around ... Most everyone else
> (ComputerWorld, new InfoWorld, TechNet, etc) uses what IMO is a
> horrible mess for threaded web discussions ... Besides I enjoy being
> the token OS/2 user on ZDNet ... I enjoy setting the idiots straight
> when they post some way-out-there FUD with regard to OS/2, and also
> letting them know about eCS when relevant ...


Reply via email to