Comments (4)
If you change the order of your css, then your page will work in IE6:
chnage:
.test.test2{background:#ccc;}
.test2 {background:none;}
into:
.test2 {background:none;}
.test.test2{background:#ccc;}
Original comment by [email protected]
on 15 Jan 2008 at 3:05
from ie7-js.
This is related to CSS specificity. IE7 replaces unknown selectors with an IE7
class
so that:
.test.test2 --> .ie7_class0
The trouble is that this changes the specificity of the rule. IE7 attempts to
keep as
much of the rule's specificity as it can. I've improved the algorithm slightly
in the
next release and this particular bug will be fixed by the change, However, there
where still be occasional situations where this bug will still show up.
Original comment by [email protected]
on 15 Jan 2008 at 8:23
- Changed state: Started
from ie7-js.
Original comment by [email protected]
on 15 Jan 2008 at 8:26
from ie7-js.
This is now as fixed as is possible but still not 100% fixed. :-(
Original comment by [email protected]
on 4 Feb 2008 at 6:29
- Changed state: Fixed
from ie7-js.
Related Issues (10)
- content bug for external stylesheets HOT 3
- Source file encoding HOT 3
- IE7 :empty HOT 7
- margin-auto does not work for IE5.x HOT 1
- css compliant newbie question HOT 1
- Unscrollable Content fix broken HOT 1
- Use of pseudo-tag in hierarchical selector causes exception HOT 14
- Position:fixed, 'left' and 'cut' bugs HOT 3
- sIFR3 and DTD together cause exception HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ie7-js.