While attempting to set the border radius using JavaScript in Firefox 6, I'm experiencing some issues. Interestingly, when I use the same code with WebkitBorderRadius
on Safari, it works perfectly.
that.element.style.WebkitBorderRadius = '10px';
<- It works in Safari
that.element.style.MozBorderRadius = '10px';
<- Unfortunately, it does not work in FF6
Can anyone verify this issue for me?
EDIT :
The same problem persists in FF5.
On a lighter note, setting properties like width seems to be functioning correctly:
that.element.style.width = '200px';