[jQuery] Difficulty with Corners
I haven't had enough sleep lately and corners (jquery.corner.js) are
completely kicking my ass. I have an image for which I'd like to put
a small caption. I'd like that caption to be inside of a white div
with rounded corners and a 1px black border. I can't seem to find the
right combination of classes and javascript to make the magic work.
I have:
$( '.caption' ).corner ( 'round 10px' ).parent().css ( 'padding',
'1px' ).corner ( 'round 12px' );
and
.caption {
background: #fff;
padding: 10px;
text-align: left;
width: 130px;
}
as my start point. I've tried a hundred combinations of wrapping
classes and just haven't found the one that works. I'll try curvy
corners next, but I know there's a way to do it with the standard
plugin. Anyone got a minute to lend a little expertise?
Any help would be appreciated.
Rob