Forums
View unanswered posts | View active topics It is currently Fri May 24, 2013 9:35 am



Reply to topic  [ 2 posts ] 
 Multiple backgrounds on hover - doesn't work 
Author Message

Joined: Wed Jan 25, 2012 3:15 am
Posts: 1
Post Multiple backgrounds on hover - doesn't work
Hi.

I have the following css:
Code:
.blue:hover {
   background-image: url(/files/bullet-blue.png), url(/files/small_img.jpg);
   background-repeat:repeat-y, no-repeat;
   background-position: top left, top right;
}

and html:
Code:
<div id="right1" class="blue" onclick="location.href='http:mylink.com';">Content</div>


This will display two background images in each corner on hover - and it works fine in modern browsers, but nothing happens in IE6-8. So, I introduced PIE, but I can't make it work. What should the code look like with PIE included?

Any help is highly appreciated.


Wed Jan 25, 2012 3:21 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: Multiple backgrounds on hover - doesn't work
Please see the documentation: http://css3pie.com/documentation/suppor ... background

Short answer is you have to use -pie-background.


Wed Jan 25, 2012 12:33 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 8 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.