Closed
Bug 195828
Opened 22 years ago
Closed 22 years ago
mozilla fails to render pages with the stylesheet definition below
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: paulbeard, Assigned: dbaron)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
If I try to view a page with this style applied, nothing is visible of the text
this this is applied to.
.mainBody
{
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
BACKGROUND: #ffffff;
COLOR: #000000;
PADDING-BOTTOM: 0px;
MARGIN: 0px 0px 0px 20%;
POSITION: absolute;
TOP: 95px;
WIDTH: 80%;
HEIGHT: 300px; /* IE6.0 doesn't recognize % height here */
Z-INDEX: -1;
}
This style works just fine:
.wideBody
{
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
BACKGROUND: #ffffff;
COLOR: #000000;
PADDING-BOTTOM: 0px;
MARGIN: 0px 0px 0px 0%;
POSITION: absolute;
TOP: 90px;
WIDTH: 100%;
}
I didn't make these: I inherited them, so I have no insight into the choices
made. They seem to be valid CSS as far as w3c is concerned and I haven't yet dug
into it to see exactly what values hose things up.
Reproducible: Always
Steps to Reproduce:
1. try to view the page
2. I see nothing below the main navigation (ie, except stuff that isn't styled
with the offending CSS style)
3.
Expected Results:
I guess I'd like to see the content, but if there's something wrong with that
CSS code, I'd like to know.
Comment 1•22 years ago
|
||
.
Assignee: asa → dbaron
Component: Browser-General → Style System
QA Contact: asa → ian
Reporter | ||
Comment 2•22 years ago
|
||
This just in from the web designer who set up the stylesheet:
> The problem is with the z-index spec on the main body. The components of
> the page were not rendering in the correct order on the mac so that the
> background of the drop-down menus on the Mac would go transparent. Setting
> the z-index to -1 corrected that problem, but apparently, in Mozilla, winds
> up rendering the main body content behind everything else. see
> http://www.law.washington.edu/staff/kkeithly/redesign/mozilla/template.html
> for a sample template page pointing to a stylesheet with z-index =0.
I assume the Mac browser used was IE. I don't know what version but it was on OS
9 so it would be 4.x.
Component: Style System → Browser-General
QA Contact: ian → asa
Probably a duplicate of bug 78087, but I'd need to see a proper testcase to be
sure. Please attach one if you can.
Reporter | ||
Comment 4•22 years ago
|
||
This page here should manifest the bug:
http://paulbeard.no-ip.org/private/bad.html
This should be OK:
http://paulbeard.no-ip.org/private/good.html
*** This bug has been marked as a duplicate of 78087 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•