By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,068 Members | 899 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,068 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Mar 28 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mar 28, 11:08 pm, "Nathan Sokalski" <njsokal...@hotmail.comwrote:
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.
--
Nathan Sokalski
njsokal...@hotmail.comhttp://www.nathansokalski.com/
white-space: nowrap

?

Mar 28 '07 #2

P: n/a
"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:uF****************@TK2MSFTNGP02.phx.gbl...
>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;">
Mar 28 '07 #3

P: n/a
white-space: nowrap

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:uF****************@TK2MSFTNGP02.phx.gbl...
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.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/


Mar 28 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.