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

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.
 
G

Guest

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

?
 
M

Mark Rae

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;">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top