Author |
Message |
zetftw
Joined: Fri Jan 13, 2012 1:52 pm Posts: 2
|
 CSS3PIE + Sharepoint 2010
Good Afternoon, I have a SharePoint 2010 intranet site that is running CSS3Pie perfectly, no problems at all. But i'm having a little problem with a public facing site that I am developing in SharePoint 2010. I set up CSS3PIE the same way in both the intranet site and the internet site but for some reason the Pie.htc file isnt firing in the internet site. I ran the command "window.PIE ? 'I haz PIE' : 'I haz no PIE!'" in the ie developer toolbar for both the intranet and internet and this is how I found out that it's not even loading on the internet site, but works fine on the intranet. Any idea what could be the problem with it not firing on one site but works fine on the other? Thanks. Not sure if the pie code itself matters but here is a snippet. Code: <a href=""> <img class="boxshadow" src"image.png" /> </a>
.boxshadow { position: relative; behavior: url(http://urltomysite/_styles/PIE.htc); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 5px 5px 5px #000; -webkit-box-shadow: 5px 5px 5px #000; box-shadow: 5px 5px 5px #000; }
|
Fri Jan 13, 2012 1:58 pm |
|
 |
zetftw
Joined: Fri Jan 13, 2012 1:52 pm Posts: 2
|
 Re: CSS3PIE + Sharepoint 2010
Hello Again,
I've decided to just do a jQuery work around for the moment. If anyone has any idea on how to get the .PIE to work let me know otherwise I'll stick with the work around.
Thanks.
|
Tue Jan 17, 2012 11:29 am |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: CSS3PIE + Sharepoint 2010
Usually working on one site but not another is the common content-type issue.
If you can't get the .htc to work there is always PIE.js which you can use in conjunction with jQuery if you like.
|
Tue Jan 17, 2012 11:35 am |
|
 |
yosra
Joined: Tue Jan 24, 2012 10:43 am Posts: 3
|
 Re: CSS3PIE + Sharepoint 2010
hi all, i have the same problem  :( what can i do in SharePoint 2010 site the PIE.htc doesn't effect 2ny thing on IE !!!! and i didn't want to use PIE.js where should i put the file and how to use it
|
Tue Jan 24, 2012 10:53 am |
|
 |
Tonttu
Joined: Sat Aug 21, 2010 11:12 am Posts: 223
|
 Re: CSS3PIE + Sharepoint 2010
yosra: do you have your site online? If you don't want to share it in public, I can PM you my email address and I can take a peek at what's happening.
_________________ PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.
|
Tue Jan 24, 2012 11:55 am |
|
 |
yosra
Joined: Tue Jan 24, 2012 10:43 am Posts: 3
|
 Re: CSS3PIE + Sharepoint 2010
I have putted it in _scripts folder and linked to it in css file. this way appers cant be displeced or accsses denied " thing like that" so i decided to put it at root and link to it in css file the page opened correctly but there is no effect on IE. the div still haven't any rounded corners or shadows !!! sorry my site on our company servers and you can see it now i have a new site with much inner shadows design and needs nesseray to use CSS3  to reduce the divs and its slicing images plz help me or tell me where can i put it and how to use
|
Wed Jan 25, 2012 1:43 pm |
|
 |
Tonttu
Joined: Sat Aug 21, 2010 11:12 am Posts: 223
|
 Re: CSS3PIE + Sharepoint 2010
Can you at least paste the CSS code for your specific PIE-styled elements?
_________________ PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.
|
Wed Jan 25, 2012 3:46 pm |
|
 |
yosra
Joined: Tue Jan 24, 2012 10:43 am Posts: 3
|
 Re: CSS3PIE + Sharepoint 2010
.box{ -moz-box-shadow: inset 0 0 5px 5px #888; -webkit-box-shadow: inset 0 0 5px 5px#888; box-shadow: inset 0 0 5px 5px #888; behavior: url(/PIE.htc); position: relative; }
|
Wed Jan 25, 2012 5:38 pm |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: CSS3PIE + Sharepoint 2010
See the documentation. Inset box shadows are not supported. http://css3pie.com/documentation/suppor ... box-shadow
|
Thu Jan 26, 2012 10:56 am |
|
 |
salsadelrio
Joined: Thu Apr 05, 2012 10:14 am Posts: 1
|
 Re: CSS3PIE + Sharepoint 2010
I cannot get PIE to work in my SP2010 environment. I have tried adding it to the .css using both the .htc and the .php
Can someone please tell me what I am doing wrong.
here is my .css
.wp1 { border: 1px solid black; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px 4px 4px 4px; min-height: 145px; position:relative; z-index:0; behavior:url(/Style%20Library/PIE.htc); }
**it doesnt matter where i put the PIE file it still doesn't work. this is a publishing site.
|
Thu Apr 05, 2012 10:19 am |
|
|