breaking up addition name text with <br> to put it onto 2 lines

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balancedview
    Blueparker
    • Sep 2011
    • 96

    #1

    breaking up addition name text with <br> to put it onto 2 lines

    Hi,

    I'm trying to break up a long addition name so that it goes onto 2 lines rather than one long line. It's going onto my shopping basket page.
    At the moment I have a shortened version of how I want it:

    'Are you Posting your old glasses to us so we can check your PD Measurement?'

    This fits well onto the page but the longer version that I actually want:

    'Are you Posting your old glasses to us so we can check your Pupillary Distance (PD) Measurement?'

    ...stretches the page so I tried to break it up by using the <br> tag:

    'Are you Posting your old glasses to us so we <br> can check your Pupillary Distance (PD) Measurement?'

    ...but instead of appearing like this:

    'Are you Posting your old glasses to us so we
    can check your Pupillary Distance (PD) Measurement?'

    on the page, it appeared something like this:


    'Are you Posting
    your old glasses
    to us so we
    can check
    your Pupillary
    Distance (PD)
    Measurement?'

    Hope someone can help me with this,

    Regards,

    Iain
    internetspecs.co.uk
    Iain
    http://www.internetspecs.co.uk
  • greggrant
    Senior Blueparker
    • Jan 2011
    • 798

    #2
    Hi Iain - Try using <br /> instead of <br> (note the space between the r and the /) Greg
    Greg Grant
    www.ukpashmina.co.uk

    Comment

    • balancedview
      Blueparker
      • Sep 2011
      • 96

      #3
      Hi Greg,

      Thanks for your message. I tried the <br /> but it had the same result. A (bluepark) mystery!

      Regards,

      Iain
      Iain
      http://www.internetspecs.co.uk

      Comment

      • greggrant
        Senior Blueparker
        • Jan 2011
        • 798

        #4
        Hi Iain - Yes I've been playing around with it and nothing seems to make any difference. It's to do with the width of the element which holds the addition - fine without any code in it but collapses with the <br> code. If I think of anything I'll let you know. Cheers Greg
        Greg Grant
        www.ukpashmina.co.uk

        Comment

        • balancedview
          Blueparker
          • Sep 2011
          • 96

          #5
          Thanks Greg,

          I appreciate your help,

          Regards, Iain
          Iain
          http://www.internetspecs.co.uk

          Comment

          • Bather
            Senior Blueparker
            • Aug 2009
            • 481

            #6
            I've got a similar problem and the <br> or <br /> does not really work, especially as the BP added ":" looks really out of place. Any suggestions or examples on how to deal with long additions names?
            Problem page is here http://www.1066pools.co.uk/hot-tub-a...tub-cover.html , the page is part complete but I'm stuck on the options. I had this issue in drop down lists quite a while that Rich sorted for me but was hoping there is a nice easy solution out there?
            Bather..

            Comment

            Working...