Forums
View unanswered posts | View active topics It is currently Thu Oct 23, 2014 9:48 am



Reply to topic  [ 1 post ] 
 Sharing some experiences 
Author Message

Joined: Tue Jan 24, 2012 11:16 am
Posts: 1
Post Sharing some experiences
Hi

I have successfully used CSS PIE in a small IE8 ".HTA" application I am writing.

Some observations from my experience:-

- My application dynamically shows and hides elements. PIE can have a noticable lag when switching display="bock" and display="none". The quicker solution has been to hide the elements using position="absolute" and left="-1000", and then show using position="static". Seems to avoid much re-processing.

- Try to avoid creating elements using createElement. I.e. try to re-use hidden elements that PIE has already processed. E.g. for a drop-down box, I re-use the same DIV (again hidden as above), and just change its contents.

- If you must create an element using createElement then make sure you set display="block" before applying any class or id to invoke PIE. PIE does not seem to invoke if you apply the class or id, and then call display="block".

- Pie works on table cells (TDs). I use it for the corner cells in some tables. But oddly, it seems to work only if you set border="0px solid red" for the TD. I.e. if I set border="1px sold red" then I get two borders overlapping.

Great work.

Julian


Tue Jan 24, 2012 11:25 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Exabot [Bot] 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.