wrapping the content of a span inside an li so it stays in its own column

Posted by codergeek on Stack Overflow See other posts from Stack Overflow or by codergeek
Published on 2010-06-06T07:48:27Z Indexed on 2010/06/06 7:52 UTC
Read the original article Hit count: 284

Filed under:
|

hello, I have a list, each li in it has this structure:

<li>
  <img class="yes" src="...">
  <img class="no"  src="...">
  <span class="a">...</span>
  <span class="b">...</span>
</li>

now if the content of class b is long, it will wrap around the image. I don't want it to wrap under the image, I want it to stay in its own column. If there is anyway to do this, please let me know as using tables to do it will be just wrong. Thanks! Nima

© Stack Overflow or respective owner

Related posts about css-layout

Related posts about textwrapping