Home › Forums › Other › Opinions, Testing and Fixing Help › Re: Opinions, Testing and Fixing Help
April 30, 2011 at 10:55 am
#48354
Member
Your JQuery plugin is for generating rounded corners in browsers that do not natively support rounded corners i.e. Internet Explorer 6-8.
However, the way you have coded your site means that all browsers’ rounded corners are being generated by JavaScript. This is not a good thing as the plugin is not 100% foolproof. You should really be using CSS in FF, Safari, Chrome and IE9 and then wrapping the JQuery corners plugin inside IE conditional comments to target IE6-8
e.g.
input[type=text]
{
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
and then wrap your corners plugin inside