alex johnson alex johnson - 3 months ago 20
CSS Question

How to reapply new text format in CSS after removing format initially

Currently having a slight problem with regards to getting my text to appear in a certain way:

I currently have the following:

%><DIV class="quote status">&nbsp;<b>status:&nbsp;</b><%=o.getStatus()%><%

Which returns the following text:


I have applied the following CSS to remove the uppercase format:

text-transform: lowercase;
float: right;

which returns this:


However i am unsure how to achieve the following:


using CSS.

Any ideas


Used capitalize for that:

text-transform: capitalize; /* For First character of each word to uppercase */

text-transform: lowercase; /* For lowercase */

text-transform: uppercase; /* For uppercase */

    text-transform: capitalize;
    float: right;
<div class="quote status">&nbsp;<b>status:&nbsp;</b><%=o.getStatus()%></div>
<div class="quote status">&nbsp;<b>status:&nbsp;</b> confirmed</div>