I know, nobr tag is deprecated, then how can i do this with other tag or css?
+2
A:
Try using non-breakable spaces to prevent text from breaking:
You can also define breaking behaviour in CSS:
.nobr { white-space: nowrap; }
RaYell
2009-11-04 14:55:14
thank you, RaYell.
lovespring
2009-11-04 16:27:58
+1
A:
if the parent div or whatever doesn't have an explicit width, the link will go on one line for the whole size of the screen...if it's longer than that, consider changing it to
<a href="http://a/long/address/">Link</a>
Zack
2009-11-04 14:57:23