clanbase.com - Show's the page with wrong colors and lacks all the important contents

RESOLVED WORKSFORME

Status

Tech Evangelism Graveyard
English US
--
major
RESOLVED WORKSFORME
16 years ago
3 years ago

People

(Reporter: _daedalon, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311
BuildID:    2002031104

When loading any of www.clanbase.com pages, the pages show in wrong color (the
red factor of the colors has turned to blue - the more red it should be, the
more blue it is). That isn't yet critical, but the lack of the info of matches
isn't acceptable. I believe the list of previous matches is made with PHP, so
this problem could be in Mozilla's PHP reading part. I tested the page with
Opera 6.01 and Internet Explorer 5.00.3315.1000, which both show the page the
way it should be shown.

Reproducible: Always
Steps to Reproduce:
1. Install Mozilla.
2. Open the page in Mozilla.
3. To know the page shows wrong, open the page in Opera or IE.

Actual Results:  The colors show wrong and the list of the clan's previous
matches isn't shown at all.

Expected Results:  Print out the colors in the right way. Get the list of the
clan's previous matches as the server sends it.

The Clanbase website isn't fully valid code, but the page opening correctly in
two other browsers, I believe the fault is at least partly in Mozilla.
The site has:

css = 'cb_red';
if(!document.all)
{
  css = css + "_ns";
}
document.write("<LINK rel='stylesheet' HREF='http://www.clanbase.com:8000/" +
css + ".css' TYPE='text/css'>");

So it's loading different stylesheets in Mozilla and in Opera/IE (Mozilla does
not have document.all, while the other two browsers do).

Now one difference between the two sheets is in the definition of what colors
link and such should be.  The sheet IE/Opera get has:

.slink {color: #ffffc0;text-decoration: none}
.ulink {color: #ffffc0}
.forum {color: #ffCC00;text-decoration: none}

while the sheet Mozilla gets has:

.slink {color: #c0ffff;text-decoration: none}
.ulink {color: #c0ffff}
.forum {color: #00CCFF;text-decoration: none}

As you can see, the Mozilla version has the blue and red reversed compared to
the IE version.  Hence the rendering difference.

Over to evangelism; there's no reason to give Mozilla the Netscape4 sheet (which
is what's happening now).
Assignee: attinasi → doron
Status: UNCONFIRMED → NEW
Component: Layout → US General
Ever confirmed: true
OS: Windows 2000 → All
Product: Browser → Tech Evangelism
QA Contact: petersen → zach
Hardware: PC → All
Version: other → unspecified

Updated

15 years ago
Summary: Show's the page with wrong colors and lacks all the important contents → clanbase.com - Show's the page with wrong colors and lacks all the important contents

Comment 2

15 years ago
tech evang june 2003 reorg
Assignee: doron → english-us
QA Contact: zach → english-us
404
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.