CSS3 PIE Forums
http://css3pie.com/forum/

Elements moving around the page
http://css3pie.com/forum/viewtopic.php?f=3&t=1840
Page 1 of 1

Author:  tristan2036 [ Tue Nov 06, 2012 7:58 pm ]
Post subject:  Elements moving around the page

I am using CSS3 Pie and the elements move around all over the page when I scroll up and down. It also seems to add width to some elements too. What am I doing wrong? I have tried the z-index: 1 and position: relative and it does not work.
Thanks

Author:  rulernature [ Fri Nov 09, 2012 3:25 am ]
Post subject:  Re: Elements moving around the page

you'l need to use detach every time when the dom is modified and apply again pie, I'm using js version and in project I have wicket that draws me the elements and I have fixed that with this function:
window.document.ready = function(){
Wicket.Ajax.registerPostCallHandler(pieStarter);
}
function pieStarter(){
if (window.PIE) {
go();
}
}
function go(){
$('.class1,.class2,#id3').each(function(){
PIE.detach(this);
});

$('.class1,.class2,#id3').each(function(){
PIE.attach(this);
});
}

You can replace function how you need.
hope it helps:)

Author:  tristan2036 [ Sat Nov 17, 2012 6:18 pm ]
Post subject:  Re: Elements moving around the page

How do i use this?
Thanks

Author:  rulernature [ Tue Dec 04, 2012 1:40 am ]
Post subject:  Re: Elements moving around the page

are you using css3pie javascript version?

Author:  GirlKillu [ Thu Dec 13, 2012 4:19 am ]
Post subject:  Re: Elements moving around the page

try adding "-pie-poll:true;" to your element
http://css3pie.com/documentation/suppor ... /#pie-poll

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/