Circle div with text inside the borders
As you can see ( http://jsfiddle.net/m3c_/VWQjj/ ) the text goes beyond the div.
<div id="myDiv">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
#myDiv {
width: 150px;
height: 150px;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
border: 2px solid #000;
background-color: #00b7ea;
padding: 10px;
}
How can i fix this? Any jQuery plugin?
I am looking for a rounded area of text, not a square! The text should follow a rounded border:

, .
<div id="myDiv">
<div id="my_text">Lorem ipsum dolor sit amet, consectetur
adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
</div>
#myDiv {
width: 150px;
height: 150px;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
border: 2px solid #000;
background-color: #00b7ea;
text-align:center;
padding: 10px;
}
#my_text
{
position:relative;top:16px;
}
//
css css #myDiv
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
fooobar.com/questions/1507042/...
, div, - , , ,
,
- ,
- use
overflow:hiddenone that at least removes this weird outflow of text, http://jsfiddle.net/VWQjj/9/ but option 1 is more recommended for 2