How to create a circle using jquery ..
This is the code which I am using..
$('#buttons1').resize(function(height) {
var fuente = $(this).height() / 2;
var margen = (fuente / 2) - 5;
$('.contenido').css('font-size', fuente + 'px');
$('.contenido').css('margin-top', margen + 'px');
});
CSS---
#buttons1{ /*buttons1 central*/
background: #F9121E;
width: 100px;
height: 100px;
margin: 50px auto;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
border:3px solid #000;
}
DIV id--
<div id="buttons1"></div>
Now here is my problem..
I need to provide different div name... How can I achieve this? Please Help...