The following code doesn’t seem to work in FF(3.6) and IE(7) on Windows XP.
$("#myDiv").css({
mozBorderRadius: "6px",
webkitBorderRadius: "6px",
borderRadius: "6px"
});
Is there anything I can do to make this work?
C
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IE7 doesn’t understand border-radius, so the CSS is ignored. You can either live with it, or try to find a fancy solution to render rounded corders using images.
I would choose the first, although there are numerous examples (like this one) out there if you really need rounded corners in those old browsers.
FF 3.6 does support rounded corders, but you should use
-moz-border-radiusfor that.