shadedborder class

Is it possible to round a border on a class? Or is it only possible on ID's?
Thanks
Mike

Trackback URL for this post:

http://www.ruzee.com/trackback/171

Use jQuery

you may use jquery for that. Include jquery as well and invoke

myBorder.render($('.myclass'));

Hi...I tried to doing this

Hi...I tried to doing this with mootools and a split box (has a header)

splitBorderBottom.render($('.roundedbox').getElementById('div')[0]);
splitBorderTop.render($('.roundedbox').getElementById('h4')[0]);

I also tried using the mootools getElement like this:

splitBorderBottom.render($('.roundedbox').getElement('div'));
splitBorderTop.render($('.roundedbox').getElement('h4'));

But it always tells me that $(".roundedbox") is null. Am I doing something wrong, or will it not work with a split box?

Found the solution, needed $$

Found the solution, needed $$ not $:

splitBorderBottom.render($$('.roundedbox').getElement('div'));
splitBorderTop.render($$('.roundedbox').getElement('h4'));

works great!