Forums
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Author |
Message |
JulesBlue
Joined: Tue Jan 24, 2012 11:16 am Posts: 1
|
 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 |
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 3 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
|
|