We would like to know how to circle with border radius.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#circle {<!--from www . ja v a 2 s . co m-->
width: 100px;
height: 100px;
border-radius: 100%;
background-color: tomato;
}
#circle p {
text-align: center;
line-height: 100px;
}
</style>
</head>
<body>
<div id="circle">
<p>Java2s.com</p>
</div>
</body>
</html>
The code above is rendered as follows: