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

6 replies
  • WEB DESIGN
  • |
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
    try this:


    Code:
    link A<br />
    link B<br />
    link C<br />
    {{ DiscussionBoard.errors[3180880].message }}
    • Profile picture of the author 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.
      {{ DiscussionBoard.errors[3180933].message }}
  • Profile picture of the author 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
    {{ DiscussionBoard.errors[3181359].message }}
  • Profile picture of the author steadypay
    Thanks, yes mine is xhtml.
    {{ DiscussionBoard.errors[3181402].message }}
  • Profile picture of the author 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?
    Signature

    {{ DiscussionBoard.errors[3182042].message }}
  • Profile picture of the author steadypay
    It's ok I fixxed it now but it was in a page doing anchour texts/internal linking to another page (in WP).
    {{ DiscussionBoard.errors[3182072].message }}

Trending Topics