473,386 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

nowrap not XHTML 1.0 compliant

Hi

What should be used instead of nowrap in a table cell? VS2005 advises me
to use a newer construct...

Thanks
Kev
Jan 23 '06 #1
3 1569
I just googled "xhtml 1.0 nowrap" and found this page
http://www.blooberry.com/indexdot/history/xhtml.htm

which says
Stand-alone attributes must be expanded (eg: <td nowrap>cell</td> becomes
<td nowrap="nowrap">cell</td>)
"Kevin Lawrence" <sp******@spam.com> wrote in message
news:3a*************************@news.rmplc.co.uk. ..
Hi

What should be used instead of nowrap in a table cell? VS2005 advises me
to use a newer construct...

Thanks
Kev

Jan 23 '06 #2
it might just be that you need to do nowrap="nowrap" to be compliant. Not
sure.

I am sure that standalone attributes aren't XML (and thus XHTML) compliant.
All attributes must have a quote-enclosed value, and I do know that for HTML
standalone attributes, the XHTML rule is to assign the attribute as the
value, so I think it'll solve ur problem.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Kevin Lawrence" <sp******@spam.com> wrote in message
news:3a*************************@news.rmplc.co.uk. ..
Hi

What should be used instead of nowrap in a table cell? VS2005 advises me
to use a newer construct...

Thanks
Kev

Jan 23 '06 #3
"Kevin Lawrence" <sp******@spam.com> wrote in message
news:3a*************************@news.rmplc.co.uk. ..
Hi

What should be used instead of nowrap in a table cell? VS2005 advises me
to use a newer construct...


I use this for spans: <span style="white-space: nowrap;">...</span>. It's
XHTML 1.0 compliant. I would imagine it works for table cells, too.

--Rob Roberts
Jan 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark Moore | last post by:
I'm trying to layout a couple text input fields and their corresponding labels without using a table. When I was trying to debug my understanding of CSS, I was *very* surprised to see that span's...
3
by: Robert Cerny | last post by:
Hi everybody, I encounter the following layout problem in IE 6.0.28: Even on specifying "white-space: nowrap" and "overflow: hidden" the paragraph shoots out over the boundaries of the width...
119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
32
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with...
2
by: Nathan Sokalski | last post by:
I want to create TD tags with the nowrap property. I have a user control which sets the Wrap property of a TableCell to False when dynamically creating a table as follows: cellCurrButton.Wrap =...
12
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
15
by: Zhang Weiwu | last post by:
http://www.w3.org/MarkUp/2004/xhtml-faq provided a trick to serve xhtml webpage to IE as application/xml I used that trick and now every one of my xhtml webpage have following first 4 starting...
3
by: Nathan Sokalski | last post by:
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.