CSS property

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthik1981
    New Member
    • Nov 2011
    • 11

    CSS property

    Hi all,

    Please look the below coding:

    Input:
    ----------
    Code:
    <ol id="l0025" class="number">
    <li class="list-item" id="o0010">
    <span class="label">3.</span>&#x2003;<span id="p0145">The contractor will offset the waiting time incurred in port against the downtime offshore.</span>
    <span id="p0145">Offset the waiting time incurred in port against the downtime offshore.</span></li></ol>
    Needed Output:
    ------------------

    3. The contractor will offset the waiting time incurred in port against the downtime offshore.
    Offset the waiting time incurred in port against the downtime offshore.

    Because when I see the above coding in IE browser, the 3rd span content runon with 2nd span content.


    My question is:
    --------------------

    Is there any CSS property available to break the 3rd <span> tag into different line without coding changes in html. (i.e., the list item containing 2 multiple para).

    Thanks,
    Karthik V.
    Last edited by acoder; Nov 21 '11, 11:37 PM.
Working...