View unanswered posts | View active topics It is currently Tue Oct 06, 2015 8:41 am

Reply to topic  [ 2 posts ] on ::before psuedo element? 
Author Message

Joined: Tue Jan 08, 2013 5:53 am
Posts: 4
Post on ::before psuedo element?
I'm trying to apply to the ::before pseudo element, but it's not working in IE8 (right hand navbar).

Here is the CSS:

.navbar .current-cat:before{
content: "";
position: absolute;
top: 10%;
left: -35px;
background: url("images/elements.png") no-repeat scroll 20px -98px #dbebf2;
border-radius: 50%;
display: block;
height: 45px;
width: 45px;
/*rotate the arrow */

I tried removing the rotation, the position, the background - but nothing helped. Can be used on pseudo elements?

Thu Jan 10, 2013 3:19 am

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: on ::before psuedo element?
No, unfortunately. The reason is that pseudo-elements have no DOM and therefore there's nothing that PIE can manipulate.

Thu Jan 10, 2013 1:03 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users 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.