Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 08-31-2010, 11:26 AM XHTML Validation!
Novice Talker

Posts: 13
Trades: 0
We noted a few errors on our web site to pass the Markup validation and we have tried to fix them but can't seem to find the solution to the 4 errors, can anyone please help it would be much appreciated :

Quote:
  1. Line 307, Column 42: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag <div class="tail"> </div>
    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>").
  2. Line 309, Column 46: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag <div style="width: 100%;">
    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>").
  3. Line 370, Column 56: end tag for "p" omitted, but OMITTAG NO was specified <span class="tail"></span> </div>
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  4. Line 294, Column 25: start tag was here <p><span class="style36">Welcome to 600 Host UK. Web ho…
  5. Line 386, Column 30: end tag for element "p" which is not open </p>
    The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
Thank you for your time!

http://www.600host.net
__________________

Please login or register to view this content. Registration is FREE
services ||
Please login or register to view this content. Registration is FREE
T-H-C is offline
View Public Profile
 
 
Register now for full access!
Old 08-31-2010, 11:48 AM Re: XHTML Validation!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Got to say that's the worst case of "divitus" I've seen in some time, and it's not even a complicated layout.


Basically somewhere in that lot there is a missing close tag (or an extraneous opening tag)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 08-31-2010, 11:52 AM Re: XHTML Validation!
Average Talker

Posts: 14
Trades: 0
I do lots of web site validation work it looks like you just simply have some bad <p> tags dotted around your page.
__________________
Paid Web Directories:

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
photoshopfreak is offline
View Public Profile
 
Old 08-31-2010, 02:35 PM Re: XHTML Validation!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Wow, I have to agree with Chris -- all that mess of divs just for rounded corners?? Not at all necessary.

In one place you have this:
Quote:
<div style="text-align:center">
<p><a href="billing/" title="Customer Portal"> <img src="http://www.600host.net/files/images/customerportal.png" alt="Customer Service Portal" width="400" height="110" /></a>
</p>
</p>
<div>
</div>


</div>
You have an extra </p> tag in there, and you have an empty useless set of <div></div> tags following it. There is at least one more of the same elsewhere in your page.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 09-01-2010, 07:51 PM Re: XHTML Validation!
vultren's Avatar
Webmaster Talker

Posts: 583
Name: Tony
Location: Seattle Washington
Trades: 1
I've never seen something like that before. Does anyone know the advantage to the div tags like this rather than just making a .png image for those rounded corners?
__________________

Please login or register to view this content. Registration is FREE

I am here to give advice as well as learn.

Please login or register to view this content. Registration is FREE
.
vultren is online now
View Public Profile
 
Old 09-05-2010, 04:14 AM Re: XHTML Validation!
NickH's Avatar
Extreme Talker

Posts: 155
Trades: 0
Quote:
Originally Posted by Twirp54 View Post
I've never seen something like that before. Does anyone know the advantage to the div tags like this rather than just making a .png image for those rounded corners?
wouldnt it be easier to make rounded corners using css3? (although it doesnt validate in some browsers..)
__________________

Please login or register to view this content. Registration is FREE
NickH is offline
View Public Profile
 
Old 09-06-2010, 06:02 PM Re: XHTML Validation!
Junior Talker

Posts: 1
Name: dinajane
Trades: 0
thanks for the info. . .
__________________

Please login or register to view this content. Registration is FREE
dina1989 is offline
View Public Profile
 
Old 09-10-2010, 02:05 AM Re: XHTML Validation!
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
Another one using strict doctype but not able to code xhtml... frustrating.

There are a lot of useless tags ... why not using a js or jQuery plugin for rounded corners? Should work in every browser.

This template (yes, you can buy it) is a mess anyway
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Last edited by CSM; 09-10-2010 at 02:13 AM..
CSM is offline
View Public Profile Visit CSM's homepage!
 
Closed Thread     « Reply to XHTML Validation!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.15550 seconds with 12 queries