sonar3 / curved-corner

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

this feature is not working in ie6 #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
can please provide the latest code that deals with all ie versions

thanks
Sreeni

Original issue reported on code.google.com by ursre...@gmail.com on 16 Sep 2009 at 1:54

GoogleCodeExporter commented 8 years ago
I'd be interested in a version that works for ie6 and ie7 as well.

Original comment by Charlest...@gmail.com on 16 Oct 2009 at 9:41

GoogleCodeExporter commented 8 years ago
Ok, got this working by serving both .htc files to the desired flavor of IE 
with conditional comments:

<!--[if lte IE 7]>
<style type="text/css">
.corners {
behavior:url(corner-radius.htc);  /*ie6 and ie7 */
}
</style>
<![endif]-->

<!--[if IE 8]>
<style type="text/css">
.corners {
behavior:url(corner-radius-ie8.htc);  /*ie8 */
}
</style>
<![endif]-->

Make sure the url(../path/to/your/behavior/files); are correct.

Original comment by Charlest...@gmail.com on 16 Oct 2009 at 10:01

GoogleCodeExporter commented 8 years ago
Here's a partial rewrite of the script which works for me in IE6, IE7 and IE8 
in all
modes. If this doesn't work for you, please let me know:

Original comment by nickandr...@gmail.com on 18 Nov 2009 at 3:26

Attachments:

GoogleCodeExporter commented 8 years ago
New htc file is available is downloads section. pls check and let me know

Original comment by rahnas on 18 Nov 2009 at 4:09

GoogleCodeExporter commented 8 years ago
Hello. Thanks for this great script. 

"Make sure the url(../path/to/your/behavior/files); are correct."

Dumb question: The HTC file is called from the CSS file relative to the HTML 
file
correct? What would be the CSS's path to the HTC file look like if the HTML was
dynamic or in partials? 

Original comment by dragonth...@gmail.com on 10 Dec 2009 at 5:10