Forums
|
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
arthur5005
Joined: Fri Jun 08, 2012 10:28 am Posts: 2
|
 PIE reordering my divs
I work on a GUI web framework, we're giving CSS3 PIE a trie for some rounded corners here and there. We have a basic layout method which just uses jQuery's append to add elements to a container div, nothing fancy. When all is said and done, the divs (which are pie elements) are out of order - backwards.
Removing the .htc fixes the issue. Does anyone know why this might happen?
|
| Fri Jun 08, 2012 10:32 am |
|
 |
|
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1396
|
 Re: PIE reordering my divs
Does your framework use the number of sibling elements to determine insertion position? Remember that PIE inserts an extra element as a previous sibling to each target element, so this would throw off your counts if you don't take it into account.
|
| Fri Jun 08, 2012 11:14 am |
|
 |
|
arthur5005
Joined: Fri Jun 08, 2012 10:28 am Posts: 2
|
 Re: PIE reordering my divs
Hah! Well done! Definitely the problem. I almost don't want to put pie on my root elements. Hmmm.. Ok! Thanks.
|
| Fri Jun 08, 2012 1:07 pm |
|
 |
|
drbass0
Joined: Sun Jun 24, 2012 9:00 pm Posts: 1
|
 Re: PIE reordering my divs
Awesome. I had a similar issue with the positioning of my divs. They were all going out of whack. Thanks for that.
|
| Sun Jun 24, 2012 9:17 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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
|
|