Suggestion

1 view
Skip to first unread message

Co-Ca-In

unread,
Jul 25, 2010, 2:28:54 PM7/25/10
to Cornerz
Hi!

I have a suggestion for this amazing plugin : being able to choose
between pixels and em!!!

I love em as unit for liquid design.

So, I replace 'px' by 'em' in my file 'cornerz.js', and it works like
a charm... Excepting when the border is too small, like 0.0625 em.

Cheers,

Vincent

James Le Cuirot

unread,
Jul 25, 2010, 2:38:34 PM7/25/10
to cor...@googlegroups.com
On Sun, 25 Jul 2010 11:28:54 -0700 (PDT)
Co-Ca-In <co.ca....@gmail.com> wrote:

> I have a suggestion for this amazing plugin : being able to choose
> between pixels and em!!!

This would work in IE, which uses VML to draw the corners but not in
anything else, as the others use Canvas. I could be wrong but I'm
pretty sure Canvas only supports pixels.

James

James Le Cuirot

unread,
Jul 25, 2010, 3:01:35 PM7/25/10
to cor...@googlegroups.com
> > I have a suggestion for this amazing plugin : being able to choose
> > between pixels and em!!!
>
> This would work in IE, which uses VML to draw the corners but not in
> anything else, as the others use Canvas. I could be wrong but I'm
> pretty sure Canvas only supports pixels.

Actually, having said that, all the other browsers support
border-radius in their latest versions. Depends if you care about the
older versions or not.

James

Reply all
Reply to author
Forward
0 new messages