Reputation: 167
I want to stop a div from overflowing. Currently it's overflowing to the right when there's no <br>
's until the div ends.
I don't want to create any scrollbars. Just want to break the line when it reaches the end of the div. the CSS Div
#blog
{
border:#FFFFFF solid;
color:#FFFFFF;
width:760px;
min-height:100px;
border-color:#FFF;
border-width:thin;
float:left;
display: inline;
position:static;
z-index:1;
font-family: 'Quattrocento', serif;
background:#454545;
overflow:inherit;
}
I have messed around with the overflow property for some time now and i don't know what to enter into it to do what i want(or is it even possible)
Upvotes: 0
Views: 119
Reputation: 724
Depending on the content, these options are applicable:
Upvotes: 0