Closed
Bug 86186
Opened 23 years ago
Closed 23 years ago
Navigator not rendering background color for a DIV box when specified in CSS
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: joelbeach, Assigned: bc)
References
()
Details
(Whiteboard: [SYNTAX-CSS])
Hi, This page does not display div boxes with a coloured background. Check the stylesheet s340gt.css at the same location and index.html. It should work (does in Internet Explorer 5.0 and Opera)
you mean 340style.css ? there seem to be something wrong with the css file.
The css is invalid. The style for h5 is missing a closing brace. Try using the w3c stylesheet validator, then you get to add another image to you page ;) . Mozilla ignores all css after the invalid part if I'm not mistaken. h5 { margin-left: 0; color: black; font-family: sans-serif; font-weight: bold; font-size: 150%; h6 {
Comment 3•23 years ago
|
||
Over to evangelism. We _do_ ignore everything after the missing close brace because we think it's all style rules to apply to h5.
Assignee: asa → bclary
Status: UNCONFIRMED → NEW
Component: Browser-General → Evangelism
Ever confirmed: true
QA Contact: doronr → zach
Whiteboard: [SYNTAX-CSS]
Reporter | ||
Comment 4•23 years ago
|
||
Hi Guys.... I've now fixed up the css. Although the stylesheet was invalid, behaviour is different to other browsers.... I've saved the invalid stylesheet as 340style.css.old if anyone wants to view it. It's a simple syntax error.
Comment 5•23 years ago
|
||
The CSS spec is very strict about how invalid CSS is to be parsed. And in this case I believe we're following the spec. Marking fixed (since the site has been updated). If you believe that out parsing of the CSS in question does not conform to spec, please file a bug on the Style System and attach the stylesheet in question (or better yet a small testcase stylesheet) to the bug. Thanks for using Mozilla and reporting bugs!
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•23 years ago
|
||
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Updated•22 years ago
|
Depends on: bz-admintemplates
Updated•22 years ago
|
No longer depends on: bz-admintemplates
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•