navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

xhtml table validation

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> xhtml table validation
Page: [1]
 
vision2000

 

Posts: 532
From: USA
Status: offline

 
xhtml table validation - 11/23/2005 14:29:14   
Hi,

Why does this table not validate for valid xhtml?

<table width="700" align="center" cellpadding="0" cellspacing="0" >

ihost-websites.com/hf/

What CSS could I use instead..maybe it will then validate:-)

Here's the result from validation:
#############
This page is not Valid XHTML 1.0 Transitional!
Below are the results of checking this document for XML well-formedness and validity.

Error Line 79 column 71: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...lign="center" cellpadding="0" cellspacing="0" >
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
#############

Thanks

< Message edited by vision2000 -- 11/23/2005 14:43:29 >


_____________________________

Affordable Web Site Design,
Web Hosting and Promotion
http://www.isitebuild.com
womble

 

Posts: 5471
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: xhtml table validation - 11/23/2005 14:55:14   
It's because you've got the whole table wrapped in <p> </p> tags - take those out and validates fine. You can't put a table within a paragraph.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to vision2000)
vision2000

 

Posts: 532
From: USA
Status: offline

 
RE: xhtml table validation - 11/23/2005 15:05:51   
Thanks...it's fine now and such a simple error

(in reply to womble)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> xhtml table validation
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts