1267 Posts in 351 Topics by 486 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 265 Views |
-
css3 pie not working

7 March 2013 at 12:27pm Last edited: 7 March 2013 12:27pm
What is the correct way of use css3 pie with silverstripe?
I have this in Page.ss
<div id ="myAwesomeElement" >asdasd</div>
and this css in themes/simple/css/layout.css#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(pie/PIE.php);
}And the pie folder inside themes/templates/pie/
At the moment this give me an 404 error for /dev/index.php/pie/PIE.php
-
Re: css3 pie not working

11 March 2013 at 6:17pm Last edited: 11 March 2013 6:38pm
Try in your css
#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(../../templates/pie/PIE.php);
}
if its really located in themes/templates/pie/ifi its in themes/simple/templates/pie/ then use
#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(../templates/pie/PIE.php);
}--------------------------------
Arvixe Web Hosting / SilverStripe Community Liaison |
Looking for quality SilverStripe Web Hosting? Look no further than Arvixe Web Hosting!
| 265 Views | ||
|
Page:
1
|
Go to Top |


