Forums
View unanswered posts | View active topics It is currently Thu Apr 24, 2014 4:26 pm



Reply to topic  [ 5 posts ] 
 image curve 
Author Message

Joined: Mon Aug 23, 2010 5:48 am
Posts: 9
Post image curve
i have image in div like below

<div style="background-image: url(theimage.jpg);" class="{image}"/>

.image{

border-radius: 1em;

height: 140px;
margin-left: 0.6em;
width: 140px;
behavior: literal("url(PIE.htc)");

}


but doesnt work


Mon Aug 23, 2010 5:54 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: image curve
I'm confused by your code snippet, why are there curly braces in the class attribute and what is the literal(...) value for behavior?


Mon Aug 23, 2010 4:34 pm
Profile

Joined: Mon Aug 23, 2010 5:48 am
Posts: 9
Post Re: image curve
let me correct the code


<div style="background-image: url(theimage.jpg);" class="{image}"/>

.image{

border-radius: 1em;

height: 140px;
margin-left: 0.6em;
width: 140px;
behavior: url(PIE.htc);

}



i put this like this but when view in IE, the theimage.jpg disappear. it doesnt show


Mon Aug 23, 2010 7:29 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: image curve
Based on your other forum topic, it really sounds to me like you're running into the z-index issue. It's the first item on the Known Issues documentation page. Try giving your element position:relative.


Mon Aug 23, 2010 9:38 pm
Profile

Joined: Mon Aug 23, 2010 5:48 am
Posts: 9
Post Re: image curve
problem solved. thanks @Jason


Tue Aug 24, 2010 6:04 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.