Condividi tramite


Alternative to

This may seem trivial but interesting.   In the world of compliance with XHTML 1.0 the best approach I have found to the nowrap attribute is in CSS white-space attribute, examples ...

<td style="white-space: nowrap;">
<a style="white-space: nowrap;">

Hope this was of interest ...

Comments

  • Anonymous
    July 12, 2006
    Very helpful tip.  Thank you!

  • Anonymous
    November 20, 2006
    Awesome. Haven't used nowrap for a long time. Needed it today, and this came up the top in Google! Thanks!

  • Anonymous
    January 16, 2007
    That is cool.

  • Anonymous
    March 07, 2007
    Thanks Mark. .NET always lets me know when constructs are outdated and I like to keep up-to-date so this was helpful! Rich

  • Anonymous
    April 25, 2007
    Lovely, very handy!

  • Anonymous
    July 24, 2007
    Nice tip

  • Anonymous
    December 23, 2007
    PingBack from http://internet-explorer-alternative.blogyblog.info/?p=266