asp.net - how can i make this into one div -


how can make in 1 div? has 2 divs need make in 1 div images showing on left , text on right.

<div style='float: left; margin-left: 6px; margin-bottom: 6px; height: 191px;'>     <img src='http://www.cnn.com/features/150px.jpg' width='100' height='100' border='0' alt='lipsum' />     <br />      <img src='http://www.cnn.com/features/b150px.jpg' width='100' height='100' border='0' alt='lipsum' />     <br />     <br />     <br /> </div> <div id='lipsum'>     <p>first paragraph</p>     <p>second paragraph</p>  </div> 

you can use clear: left:

see: http://jsfiddle.net/thirtydot/fn4h4/

css:

img {     float: left;     clear: left;     margin: 0 6px } 

html:

<div id='lipsum'>      <img src='http://www.cnn.com/features/150px.jpg' width='100' height='100' border='0' alt='lipsum' />     <img src='http://www.cnn.com/features/b150px.jpg' width='100' height='100' border='0' alt='lipsum' />      <p>lorem ipsum..</p>     <p>lorem ipsum..</p> </div> 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -