CSS equivelant of the td tag's nowrap="nowrap" attribute

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I am working on making my pages as xhtml compliant as possible (even though
I am still using XHTML 1.0 Transitional). On the following page:

http://www.w3schools.com/tags/tag_td.asp

it says that XHTML 1.0 Strict no longer supports the td tag's
nowrap="nowrap" attribute. I am assuming that this means there is some way
to specify a nowrap using CSS. What would this be? Thanks.
 
I am working on making my pages as xhtml compliant as possible (even though
I am still using XHTML 1.0 Transitional). On the following page:

http://www.w3schools.com/tags/tag_td.asp

it says that XHTML 1.0 Strict no longer supports the td tag's
nowrap="nowrap" attribute. I am assuming that this means there is some way
to specify a nowrap using CSS. What would this be? Thanks.

white-space: nowrap

?
 
I am working on making my pages as xhtml compliant as possible (even though
I am still using XHTML 1.0 Transitional).

Good call - others will disagree...
On the following page:

http://www.w3schools.com/tags/tag_td.asp

it says that XHTML 1.0 Strict no longer supports the td tag's
nowrap="nowrap" attribute. I am assuming that this means there is some way
to specify a nowrap using CSS. What would this be? Thanks.

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