Click here to get back home

Unbreaking link text

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Unbreaking link text Steve Swift 05-23-2007
Get Chitika Premium
Posted by Steve Swift on May 23, 2007, 9:45 am
Please log in for more thread options


Given a choice between:

1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
2. <NOBR><A HREF=z>Non breaking link</A></NOBR>

... a nothing else; absolutely nothing else, is there any reason to
chose one in preference to the other? There's no visible difference in
any browser that I've tried.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk

Posted by Jukka K. Korpela on May 23, 2007, 10:20 am
Please log in for more thread options


Scripsit Steve Swift:

> Given a choice between:
>
> 1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
> 2. <NOBR><A HREF=z>Non breaking link</A></NOBR>
>
> ... a nothing else; absolutely nothing else, is there any reason to
> chose one in preference to the other?

Hardly. Well, there's a slight (imaginary) chance that some software
analyzes links in a manner that gets disturbed by extra markup inside the A
element, so when forced to choose, I'd probably choose option 2.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


Posted by Jim Moe on May 23, 2007, 2:11 pm
Please log in for more thread options


Steve Swift wrote:
> Given a choice between:
>
> 1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
> 2. <NOBR><A HREF=z>Non breaking link</A></NOBR>
>
> ... a nothing else; absolutely nothing else, is there any reason to
> chose one in preference to the other?
>
Technically, no.
I'd prefer the first since it links the whole context of the link text,
formatting and all.
It would be better to create a style for non-wrapping link text rather
than do that inline. Likely you do this in more than one place, yes?

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Posted by Jonathan N. Little on May 25, 2007, 12:52 pm
Please log in for more thread options


Steve Swift wrote:
> Given a choice between:
>
> 1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
> 2. <NOBR><A HREF=z>Non breaking link</A></NOBR>
>
> ... a nothing else; absolutely nothing else, is there any reason to
> chose one in preference to the other? There's no visible difference in
> any browser that I've tried.
>

I like neither and prefer CSS:

A { white-space: nowrap; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Similar ThreadsPosted
Link text August 22, 2007, 6:13 pm
superscripted nos beside link text -- what is it? May 19, 2008, 2:21 am
PSupplied link text doesn't conform. September 1, 2007, 9:08 am
html link from browser link to xml editor September 9, 2004, 5:53 am
How to align text label and input field's text ? June 11, 2007, 6:10 am
popup text when the pointer is on some text July 30, 2005, 10:33 am
Text and Image inside table Alight Text Left and Image right in same cell ?? October 24, 2006, 12:55 am
Re: Text wrapped around a picture -- picture longer than text April 27, 2008, 10:40 am
Re: Text wrapped around a picture -- picture longer than text April 27, 2008, 7:29 pm
link (rel and rev) September 28, 2004, 10:29 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap