Announcement

Collapse
No announcement yet.

Aligning text in product descriptions

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

    Aligning text in product descriptions

    I have a small problem that I don't know if anyone could help me please? I am having trouble aligning text in the product descriptions, I am dealing with registering with exams as it happens.

    When it comes out on the website the extra spaces are lost and it does not look very good. Thus

    Paper 1 Saturday 5th
    Papers 2 & 3 Monday 6th

    In the original product description the Saturday and Monday are aligend, but the spaces have dissapeared. Stangely the same happens on the forum. Any ideas please?

    #2
    HTML changes multiple spaces to a single space character (or line break).

    If you really need to line the things up you could put them in a table but this is not easy to maintain when you just type it into the product description. A better solution would be to define custom vars for all the different bits and use your own template to position them.
    Chris Brown

    Comment


      #3
      Alignment in product description

      Someone has suggested that using the HTML non breaking space command might help, i.e.


      dfsdf    asddsasf
      ad       dsfdsf



      <table>
      <tr>
      <td>
      sdfgfg
      </td>
      <td>
      dfgfdg
      </td>
      </tr>
      </table>

      Comment


        #4
        or you can use html directly in your inputs

        for example, in the product description area you could have

        !!<<table width="300" border="1" bordercolor="#0000FF">
        <tr>
        <td width="130"><div align="center"><strong>Paper</strong></div></td>
        <td width="131"><div align="center"><strong>Date</strong></div></td>
        </tr>
        <tr>
        <td>Paper 1</td>
        <td>Saturday 5th</td>
        </tr>
        <tr>
        <td>Papers 2 &amp; 3 </td>
        <td>Monday 6th</td>
        </tr>
        </table>>!!

        This is actinic's way to let you control the content a little better using proper formatting. it produces a table the same as www.harlequindomains.com/actinichtmlincode.html ( specially done for you if a little garish to highlight the possibilities here....) ;-)

        To add html into actinic you simply place !!< at the start of your html code and >!! at the end.

        This works in brocure fragment title, brochure fragment text, product name, product title and header / footer etc...in fact most places where you put content into actinic..

        There is a good post here http://community.actinic.com/showthr...&threadid=2482 about doing this in relation to search engineering and will give you a little more knowledge about what is going on if you can wade through all my waffle and james simple questions....

        Steve Quinn
        Harlequin Domains
        www.harlequindomains.com
        Actinic Design, Hosting and Search Engine Optimisation
        0800 0832077

        Comment


          #5
          Thanks very much for your help on that. Excellent service!

          Comment


            #6
            For a quick and dirty solution jus try surrounding the text with !!<<pre>>!! and !!<</pre>>!! and see if that preserves your spacing, etc.

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

            Comment

            Working...
            X