html block : how can i make a new line for a <a> tag

grosloulougrosloulou Registered Users Posts: 87 Big grins
edited August 11, 2013 in SmugMug Customization
hallo,
i have created a links page :
http://labrophotography.smugmug.com/Links

for this page i copied pasted code from my old site in a html block.
Here is a part of the code.

In new smugmug html i often have a problem that i see different lines but it is kilometric in the result.
generally, i use delete until two lines are on a same line and then enter to create a new line but this time with several <a> tags it doesn't work even with two enter

An idea why ?


<h1>Photographic Techniques and Post Processing</h1>
<p> </p>

<a href="http://www.parlonsphoto.com/">Parlons Photo</a>

<a href="http://forum.nikonpassion.com/">Nikon Passion</a>

...

kind regards
marc

Comments

  • thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited August 11, 2013
    The HTML block doesn't pay any attention to newlines at all, you can add as many as you like and it doesn't make any difference in the output.

    In the case of those links, you might want to add
    tags to the end of the line to cause a new line to begin in the output.
  • ScottBuckelScottBuckel Registered Users Posts: 24 Big grins
    edited August 11, 2013
    Although the advice that Lamah gave you is excellent, there is a somewhat easier way to generate a list of links that may help you out, I rather have the software do the coding for me. If I were going to make a list of links:

    1. create a new page

    2. type the list of titles for your links

    3. highlight each link title and click on the chain icon in the editor and insert the URL.

    I'm thinking the advantage of my way is if you want to change and insert/delete links you can do it without code, while the html block needs to be coded. I make lots of typos when I type so I like machines to do my coding.

    HTH,
Sign In or Register to comment.