Announcement

Collapse
No announcement yet.

justify product description text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    justify product description text

    How do I justify the product description text - my client has asked for this and I'm having problems getting it right.

    I've created a new css style based on actxsmall as follows:-

    .actxsmalljustify{
    font-size:x-small;
    text-align: justify;
    color:NETQUOTEVAR:FGCOLORCSS;}

    I've assigned this style to the product description as follows

    <td><span class="actxsmall"><b>NETQUOTEVAR:PRODUCTPRICE</b></span> <br>
    <span class="actxsmalljustify">NETQUOTEVAR:PRODUCTDESCRIPTION</span>
    </td>

    This doesn't seem to have made any difference at all as the text remains left justified instead of left and right justified. What am I doing wrong?


    Thank you

    #2
    Hi there.

    Could you not create 2 table cells, on for Price and the other for description, and align the description cell to the right?

    I hope this helps.
    Darren

    SellerDeck

    www.sellerdeck.co.uk

    Comment


      #3
      I don't think right aligning the description would give the effect we need. We want the text to be justified, ie aligned both left and right.

      Comment


        #4
        Try using <div> and </div> instead of <span>.

        Also you can just do:-

        <div align="justify">NETQUOTEVAR:PRODUCTDESCRIPTION</div>

        And you'll get the existing CSS rules but justified.

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X