At the moment TEST TEST appear side by side. How can I push one down onto a second line? Only through CSS.
<div id="box"><p>TEST TEST</p></div>
#box{
height: 50px;
text-align: center;
position: relative;
margin: 0 auto;
background-color: red;
color: white;
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
width
of yourdiv
- otherwise, why should it not be in the same line ;) – olydis Sep 19 '13 at 10:05