My code isn't working


#1

$(document).ready(function() {

$("div").height("200px");
    $("div").width("200px");
    $("div").border-radius("10px");
});


#2

border-radius does not have a convenience method and must be selected with the .css() method.

$('div').css('border-radius', '10px')

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.