Monday, August 8, 2011

How to create dive corner without image

How to create  dive corner without image 
Here you make comer without image with the help of jQuery.  
Code Here :
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="JavaScript" src="jquery-1.6.js"></script>
<script language="JavaScript" src="jquery.corner.js"></script>
<script language="javascript">
$('#divID').corner("10px");
</script>
</head>

<body>

<div id="divID" style="width:300px; height:200px; background-color:#090;" >
&nbsp;test round couner
</div>
</body>
</html>
Example 

 

No comments:

Post a Comment