Forums
View unanswered posts | View active topics It is currently Fri Oct 24, 2014 8:48 pm



Reply to topic  [ 1 post ] 
 Different rules in different selectors overwrite behaviours 
Author Message

Joined: Thu Oct 21, 2010 3:58 am
Posts: 4
Post Different rules in different selectors overwrite behaviours
I'm using classes to apply rounded corners to lots of divs, then ids to apply different coloured gradients to each div. The problem is that IE (correctly, unfortunately) is putting preference on the behaviour of the id and ignoring the behaviour of the class (css preference means that an id will over-write the rules of a class).

How do I get IE to use all the behaviours?

[solved]
Turns out to be a z-index problem. Which is interesting since I'm not using z-index =/ Putting position:relative on the relevant selector fixed my problem.
btw: excellent script :thumbs-up:


Thu Oct 21, 2010 4:38 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.