lvhaiyan888 / curved-corner

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

Background Transparency Fix - No more black backgrounds when specifying 'transparent' or no specification at all! #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Specify a transparent background color or background type 'none'
2. Open in IE 6 or 7 (8 is untested for this but due to the nature of VML, I'm 
guessing it would be an issue here, too)

What is the expected output? What do you see instead?
Instead of a nice transparent background, it renders the background black.

What version of the product are you using? On what operating system?
I'm using the newest version from November 2009.

Please provide any additional information below.
Attached is a fixed file. This file determines the use of a background image, 
background color and any specified opacity used and renders the VML object with 
these attributes.

This file also contains the Z-Index fix for IE 7 and 8 found in the Issue 1: IE 
background issues & Opera Support. Further support still needs developed for 
corner radius control and radius unit differentiation (meaning determining the 
use of px, % or em). I hope to address these issues at a later date, but if you 
have a solution at hand and wish to couple it with this version, that would 
help me out alot! Thanks

Original issue reported on code.google.com by sageage...@gmail.com on 20 Dec 2010 at 4:48

Attachments:

GoogleCodeExporter commented 8 years ago
Hi I'm wodering, why the v:roundect wrapper is placed underneath my rounded 
corner wrapper? In oder to that the v:roundect wrapper don't encrease his size, 
if the content grows without pagerefresh.

Original comment by apfel...@betriebsdirektor.de on 17 Jan 2011 at 2:36