Forums
View unanswered posts | View active topics It is currently Thu May 23, 2013 10:53 am



Reply to topic  [ 6 posts ] 
 PIE only works half on some pages? 
Author Message

Joined: Thu Feb 02, 2012 3:53 pm
Posts: 3
Post PIE only works half on some pages?
Hello,

I use PIE.htc for border-radius and shadowbox. But it works only on two pages from the website and only on the last part of the pages?
Here and here you can see the good result at the last part of the page. On other pages it doesn't work at all?

Anyone an idea what the problem is? Layout?

Thank you for helping.

KC


Thu Feb 02, 2012 4:05 pm
Profile

Joined: Sat Aug 21, 2010 11:12 am
Posts: 220
Post Re: PIE only works half on some pages?
The behavior url is relative to the html, so you should use an absolute one like /molens/templates/windkrachtn470/css/PIE.htc if it lives in that folder.

_________________
PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.


Thu Feb 02, 2012 4:12 pm
Profile

Joined: Thu Feb 02, 2012 3:53 pm
Posts: 3
Post Re: PIE only works half on some pages?
Tonttu wrote:
The behavior url is relative to the html, so you should use an absolute one like /molens/templates/windkrachtn470/css/PIE.htc if it lives in that folder.

Thank you for your answer but the PIE.htc file is in the root from this testsite in the folder 'molens'. I think that is the right place and the right path in the code? Otherwise there also would be no half results in the pages?

I think the problem is somewhere in the template. But I cann't find it?

KC


Sat Feb 04, 2012 8:56 am
Profile

Joined: Sat Aug 21, 2010 11:12 am
Posts: 220
Post Re: PIE only works half on some pages?
Then you have to specify it as /molens/PIE.htc in the url()
And you are serving it as text/plain. Check PIE documentation/known issues for the content type issue.

_________________
PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.


Sat Feb 04, 2012 12:24 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: PIE only works half on some pages?
Content-type and path issues aside, you're running into the common z-index issue -- PIE's rendering is slipping behind the background color of the body element. Since you've set the body's height to 100%, it is only as tall as the initial viewport which is why it stops covering it up when you scroll down.

See http://css3pie.com/documentation/known-issues/#z-index for explanation and solution.


Sat Feb 04, 2012 12:31 pm
Profile

Joined: Thu Feb 02, 2012 3:53 pm
Posts: 3
Post Re: PIE only works half on some pages?
jason wrote:
Content-type and path issues aside, you're running into the common z-index issue -- PIE's rendering is slipping behind the background color of the body element. Since you've set the body's height to 100%, it is only as tall as the initial viewport which is why it stops covering it up when you scroll down.

See http://css3pie.com/documentation/known-issues/#z-index for explanation and solution.

Thank you Jason. It was the z-index that course the problem. I've read the explanation in known-issues and find it difficult to understand. But this one helps me: In most cases simply adding position:relative to the target element is fine..

Thank you.


Sat Feb 11, 2012 4:12 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 6 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.