display <li> line wise CSS -


I have several tags that have a different text size. How can I show this line wise? All Li-A tags are spread over one line so far and I want it in different lines. One line and should be able to handle multiple lines of text.

  & lt; Ul & gt; & Lt; Li & gt; & Lt; A & gt; AAAA & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A & gt; BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A & gt; CCCCCCCCCCCCCCCCCCCCC & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A & gt; DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt;  

should be displayed:

  AAAA BBBBBBBBBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDDDDDDDD  

From now on:

< Previous> AAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBBBCCCCCCCCCCCCCCCCCCCCCCCDCDDDDDDDDDDDDDDD

CSS

  ul li {line-height: 45px; Limit: 1 px solid # ff0000; Margin-left: 10px} is  

Lee block elements that make it work by default

  • ; }


    Comments

    Popular posts from this blog

    Member with no value in F# -

    java - Joda Time Interval Not returning what I expect -

    c# - Showing a SelectedItem's Property -