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 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 validation
Page: [1]
 
vision2000

 

Posts: 530
From: USA
Status: offline

 
xhtml validation - 4/13/2005 10:28:58   
Hi,

What code do I use to position the footer (copyright) so it validates correctly on this page?

http://www.financial-statements-adjusted.com

Line 179, column 33: document type does not allow element "div" here

<div class="text" align="center" >

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

_____________________________

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

 

Posts: 13959
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: xhtml validation - 4/13/2005 10:50:25   
Ahh a nice easy one. You usually get that message if you don't have all your divs in pairs, or, you're trying to put the div in the middle of something you can't put one in.

In your case, you've got it outside of the page body which is not allowed.

quote:

</div>
</body>
<div class="text" align="center" >
Copyright © 2005 Financial Statements Adjusted All Rights Reserved</div>
</html>


You need to move the </body> tag after the div and before the </html> tag. That'll fix it. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to vision2000)
vision2000

 

Posts: 530
From: USA
Status: offline

 
RE: xhtml validation - 4/13/2005 11:36:45   
Thanks alot ...that did it

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> xhtml 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