How do I get anchour text to move to the next line?

Profile picture of the author steadypay by steadypay Posted: 01/14/2011
I want a list of anchor text like so:

Link A
Link B
Link C
etc.

At the moment when I try and put them on separate lines it still just goes:

Link A Link B Link C

How do I correct this?
#anchour #line #move #text

  • Profile picture of the author webpro4hire
    webpro4hire
    try this:


    Code:
    link A<br />
    link B<br />
    link C<br />
  • Profile picture of the author steadypay
    steadypay
    Nope tried that .

    I also tried
    Code:
    <p>[text]</p>
    which worked until I tried putting another link in now I haven;t been able to get it back

    Ok I got it.

    I just put the

    Code:
    </br>
    on a different line.
  • Profile picture of the author webpro4hire
    webpro4hire
    steady,

    the lines should look like this:
    Code:
    <a href="urla">link A</a><br />
    <a href="urlb">link B</a><br />
    <a href="urlc">link C</a><br />
    unless you have styled the br using CSS, this should work.

    using </br> is deprecated, the correct syntax is <br />, if your document is XHTML. Otherwise, strict HTML will allow <br>

    good luck
    WP4H
  • Profile picture of the author steadypay
    steadypay
    Thanks, yes mine is xhtml.
  • Profile picture of the author Istvan Horvath
    Istvan Horvath
    It would be extremely useful if you tell us where exactly is this occuring.
    In a XHTML website you hand coded?
    In a WP site? If WP, in a post? in a widget? in a template?
  • Profile picture of the author steadypay
    steadypay
    It's ok I fixxed it now but it was in a page doing anchour texts/internal linking to another page (in WP).

Related discussions

Next Topics on Trending Feed