CSS3 PIE Forums
http://css3pie.com/forum/

Different rules in different selectors overwrite behaviours
http://css3pie.com/forum/viewtopic.php?f=3&t=217
Page 1 of 1

Author:  cintaria [ Thu Oct 21, 2010 4:38 am ]
Post subject:  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:

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/