On 6. feb. 2006, at 11.41, Andreas Marienborg wrote:

I'm having troubles rounding elements with padding.

http://groups.google.com/group/mochikit/browse_thread/thread/ 15cb4f9314ea87e7/e7ab417a7a72f408? q=roundElement&rnum=3#e7ab417a7a72f408

I found that old thread, but it evolved around the border issue, and not the padding issue.

Basicly if I have padding-left: 20px on an element that I do roundElement on, the rounded corners appear 20 px into the element.

<padding-problem.png>

at the top you can see the rounded corner far into the element.

this is with mochikit 1.2

any ideas?


andreas



note to self: never send emails before food.

The problem exists on both safari Version 2.0.3 (417.8) and firefox 1.5.0.1 (both running on OS X).

andreas

Reply via email to