Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Andrew Tang
November 18, 2003, 10:02 am
rate this thread
- Jukka K. Korpela
November 18, 2003, 12:19 pm
Re: Links on multi-lines
By the syntax, they surely are. The <br> tag is inline (text level) markup,
so it's allowed inside <a>.
On the other hand, I try to avoid creating links that may get divided into
several lines (though I don't try that at any cost*)), and still less would
I normally use a forced line break inside link text. In addition to
potential other problems, the user may get confused since he does not
immediately see whether there are two (or more) links or just one. (Using
the text-indent property in CSS may help in some cases.)
*) For a link text like "RFC 2396" inside running text, it's almost always a
good idea to use "RFC 2396". I would also try to avoid having just a
short word left to the next line, as in "Introduction to ISO Latin 1"
or even "Introduction to ISO Latin 1".
Hard to tell without specific data.
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html