Forums
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
cometta
Joined: Mon Aug 23, 2010 5:48 am Posts: 9
|
 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 |
|
 |
|
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1396
|
 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 |
|
 |
|
cometta
Joined: Mon Aug 23, 2010 5:48 am Posts: 9
|
 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 |
|
 |
|
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1396
|
 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 |
|
 |
|
cometta
Joined: Mon Aug 23, 2010 5:48 am Posts: 9
|
 Re: image curve
problem solved. thanks @Jason
|
| Tue Aug 24, 2010 6:04 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 4 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
|
|