|
Posted by Toby A Inkster on 05/18/07 11:51
thogra wrote:
> Can I somehow glue it to the last word in the sentence ?
Adding a "zero-width non-breaking space" character between the word
and the quote mark should do the trick, but it's not supported in Internet
Explorer.
You could add <nobr>...</nobr> around the last word and quote mark, but
this will stop your HTML for validating, as <nobr>, despite being widely
supported, was never standardised. If validating your document is
important to you, you could always create a custom DOCTYPE.
The final option is to use something like <span class="nobr">...</span>
instead of <nobr>...</nobr> and define a style like:
.nobr { white-space: nowrap; }
--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux
Navigation:
[Reply to this message]
|