Radius is not defined


#1

$(document).ready(function(){
$("div").height("200px");
$("div").width("200px");
$("div").border-radius('10px');
});

cannot go forward because of this. it says "radius not defined"


#2

You have to use a css function to edit that. You need to write css() then inside the parenthesis two inputs: the first is the CSS element to alter, and the second is the value to set it to.

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

#3

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