i have some content text i am trying to print and instead of going to the next line, the text continues running horizontally.
here are some snippets of code.
xhtml:
PHP Code:
<!-- ENDING HORIZONTAL NAV -->
</div>
<!-- NOTE SURE IF THIS IS A GOOD IDEA BUT OPENING 'CONTENT' DIV -->
<div id="index_0-0">
hahsefkawtujhawjfnjsanbdvifasigffkjnsalfknaosihgfo;asgfo
<!-- CLOSING ID_0-0 -->i
</div>
<div id="index_0-1">
hahsefkawtujhawjfnjsanbdvifasigffkjnsalfknaosihgfo;asgfo
<!-- CLOSING ID_0-1 -->
</div>
<!-- FOOTER -->
css:
PHP Code:
div#index_0-0 {
padding:2px 2px;
margin:2px 2px;
float:left;
width:281px;
}
div#index_0-1 {
margin:2px 2px;
padding:2px 2px;
float:right;
width:281px;
}
Bookmarks