So a while back I blogged about a jQuery plugin I used for rounding corners, the CurvyCorners plugin. At first I thought it was great, and I have used it on two sites since finding it. But I have also found that this plugin does not play nice with IE 6-8. There are a lot of headaches involved with those browsers.
Here is a list of the issues and/or tradeoffs I had to make to get this to work in IE 6-8. Keep in mind I never ran into these issues with Firefox, Safari, or Chrome during testing.
- In IE 6-8, you cannot use this tag with a fluid box. Whatever proportions the box is when you load the page, that is how they will remain no matter how you resize your browser. This was not a problem for one site that had a fixed width design, but for the one that did have it, I had to turn it into a fixed width design for IE browsers using some conditional comments and CSS. I picked a width that will work for the amjority of screens, but I don't like that I had to do it to begin with.
- I ran into a problem where a page using jQuery for a form was not executing the jQuery (in a document.ready() block in a SCRIPT tag placed in the HEAD tag by a CFHTMLHEAD call) the first time you went to the page after opening an IE 6-8 browser. Refreshing the page or clicking a link to go to the page again fixed it, but that very first time it would not work. In the end, the issue was that I had placed the call to this plugin before the jQuery code block. I cannot fully understand why that was a problem, but because of that, the corner rounding was somehow blocking the rest of the cript being processed by the browser, for some reason. The fix for this was to place the call to the plugin as the very last tag in the HEAD. For whatever reason, that solved it.
As of today, my postings of these issues to the CurvyCorners Google Groups support forum have gone unanswered.
Because of these, I am now in search of a better solution if one exists. I could code the CSS manually, but now that I know these quicker solutions are out there my desire to do it longhand has faded. I also hate making tradeoffs when I know it should not be neccesary.