hl-web / curved-corner

Automatically exported from code.google.com/p/curved-corner
0 stars 0 forks source link

My modification of the script with various background and margin fixes #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
You can try my modification of the script (attached) and feel free to 
incorporate any of the changes. The primary goal was to fix the problem of 
hiding the block if parent elements' background is set. Works great for me.

Full list of changes:
- VML element is now positioned as a first child of the original box with 
z-index of -1 (this fixes the problem of hiding the VML if parent node has 
background set)
- More correct positioning that takes parent node margins into consideration
- Stroke is now propely hidden if its weight is 0
- wrapped body in <public:component> per .HTC specification

Original issue reported on code.google.com by igor.afa...@gmail.com on 16 Jul 2010 at 7:57

Attachments: