CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 1st, 2006, 06:17 PM
dunklk dunklk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 15 dunklk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 19 m 39 sec
Reputation Power: 0
W3C CSS validator doesn't like me at all

I've just run my site through the W3C CSS validator and I'm getting an error telling me I need to validate my XML document?

So, how do I validate my XML document, and where do I put the
</link> tag it tells me I need?

I fear this is just the start of my problems here's the validator link: http://jigsaw.w3.org/css-validator/...&usermedium=all

Reply With Quote
  #2  
Old April 1st, 2006, 06:53 PM
master b's Avatar
master b master b is offline
flash playah
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2004
Location: Compton
Posts: 762 master b User rank is Corporal (100 - 500 Reputation Level)master b User rank is Corporal (100 - 500 Reputation Level)master b User rank is Corporal (100 - 500 Reputation Level)master b User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 6 h 17 m 29 sec
Reputation Power: 9
like...i think it means you have to close the link tag in index.php

<link rel="stylesheet" href="http://www.student-consolidation-loans.co.uk/styles.css" type="text/css" />

i think you can validate your xml document at here
__________________
I'm on a point giving spree

Reply With Quote
  #3  
Old April 1st, 2006, 07:11 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,061 jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 4 Months 3 Days 9 h 48 m 17 sec
Reputation Power: 2015
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Yep, I would worry about validating your HTML first I am sure closing the <meta /> tags and the <link /> as master_b suggested already would get rid of most of those errors.

Why are you using a Frameset DTD?
__________________
Cheers,

Jamie

# mdb4u | mobile movie database | Please help to test and promote
# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.



__________________

Reply With Quote
  #4  
Old April 2nd, 2006, 05:35 AM
dunklk dunklk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 15 dunklk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 19 m 39 sec
Reputation Power: 0
Ahh thanks for the info guys.

I'll be honest. I don't know anything about the !DOCTYPE tag and know very little about XHTML in general.

I recently switched over from hand coding to using Dreamweaver's coding window (speeds up writiing code ten fold). When I create a new PHP page Dreamweaver automatically throws in all this information at the top of the page and I've never questioned it. I realised that if I remove the !DOCTYPE and any reference to XHTML and run the page through the CSS validator it works fine.

Sooo, does anyone know of a good resource that explains !DOCTYPE and its relevance?

Reply With Quote
  #5  
Old April 2nd, 2006, 07:36 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,061 jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 4 Months 3 Days 9 h 48 m 17 sec
Reputation Power: 2015
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Quirks and rendering speed....

http://www.w3schools.com/dtd/
http://www.w3schools.com/tags/tag_doctype.asp
http://www.w3.org/QA/2002/04/valid-dtd-list.html
http://www.devwebpro.co.uk/devwebpr...Validation.html
http://www.webdevout.net/doctype_switching.php
http://hsivonen.iki.fi/doctype/
http://www.oreillynet.com/pub/a/net...type/index.html
Quote:
Originally Posted by Henri Sivonen
Choosing a Doctype

Here are simple guidelines for choosing a doctype for a new text/html document:

Document contains tag soup and/or relies on quirks. (Authoring new pages like this is a bad thing.)
No doctype
Document validates as HTML 4.01 Transitional (may contain deprecated markup) and works with the CSS2 box layout model (for compatibility with those Mozilla-based browsers that activate the full standards mode).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Document validates as HTML 4.01 Strict and works with the CSS2 box layout model.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

That should keep you going for a while

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > W3C CSS validator doesn't like me at all


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT