[thelist] How to NOBR? / Evolt search
Beau Hartshorne
beau at gohothouse.com
Thu Mar 29 15:14:01 CST 2001
> Couldn't you just put between each word? Like so:
>
> All Your Headline Are Belong To Us
>
> so that it would either be on one line, or break in the appropriate place?
The browsers will break phone numbers like so:
1-800-
742-1234
And things like:
HIV/
AIDS
And URLs like:
http://
Foo.com
Joe Crawford <jcrawford at avencom.com> came up with the best solution to this
problem, IMO:
So you could do:
<style type="text/css">
<!--
.nobr { white-space: nowrap; }
//-->
</style>
<p>All Your Headline <span class="nobr">Are Belong To Us</span></p>
Cheers,
Beau
More information about the thelist
mailing list