Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Validation Discrepancies

This is a discussion on Validation Discrepancies, within the Beginners' Questions section. This forum and the thread "Validation Discrepancies" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Validation Discrepancies, uri failed, but direct input didn't
Popje
post Apr 16 2008, 08:37 PM
Post #1


Rapid Squeezer
****

Posts: 206
Joined: 15-February 08
From: Plymouth


Does anyone know why this would happen? Firebug didn't show any errors either. I'm a little confused as to why the uri would fail, but the direct input validates without ANY problems.

What's confusing is that it states:
QUOTE
Validation Output: 1 Error
  1. Line 44, Column 9: ID "navigation" already defined.<div id="navigation">

    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
  2. Line 43, Column 9: ID "navigation" first defined here.<div id="navigation">


But line 43 doesn't even contain that, it's an h2 tag. I've searched the entir code and only found 1 instance of id="navigation"

This post has been edited by Popje: Apr 16 2008, 08:42 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
karinne
post Apr 16 2008, 09:03 PM
Post #2


Co-Founder
Group Icon

Posts: 3,103
Joined: 13-February 08
From: my little igloo up north


link?


--------------------
a web design portfolio | web non-sense - REDESIGNED!
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: twitter | virb | facebook | stumbleupon
Go to the top of the page
 
+Quote Post
Popje
post Apr 16 2008, 09:20 PM
Post #3


Rapid Squeezer
****

Posts: 206
Joined: 15-February 08
From: Plymouth


QUOTE (karinne @ Apr 17 2008, 03:03 AM) *
link?


W3C Validation


Website

sad.gif

Thank you

This post has been edited by Popje: Apr 16 2008, 09:23 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Mark
post Apr 16 2008, 11:23 PM
Post #4


Don deluzione
Group Icon

Posts: 1,174
Joined: 13-February 08
From: Canada eh?


you should use a <div class="navigation">, because you're using it more than once.
A class looks like this in your css:

CODE
.navigation {
alignment and stuff
}


--------------------
Go to the top of the page
 
+Quote Post
Vanessa
post Apr 17 2008, 12:20 AM
Post #5


Rapid Squeezer
****

Posts: 192
Joined: 14-February 08
From: England


You do have <div id="navigation"> written twice, one right under the under.


--------------------
Vanessa

There are 10 types of people in the world - those that understand binary and those that don't.

Go to the top of the page
 
+Quote Post
Popje
post Apr 17 2008, 10:59 AM
Post #6


Rapid Squeezer
****

Posts: 206
Joined: 15-February 08
From: Plymouth


QUOTE (Vanessa @ Apr 17 2008, 06:20 AM) *
You do have <div id="navigation"> written twice, one right under the under.

I couldn't see it in my code and the search couldn't find it in Dreamweaver... until I checked the page source online. I'd accidently duplicated the div on my include page - which would explain why the direct input was okay! Live and learn, I suppose.

I feel stupid again. Thanks for the help.

Popje

This post has been edited by Popje: Apr 17 2008, 11:01 AM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 3 Sleaklight 305 27th February 2008 - 10:26 AM
Last post by: Sleaklight
No new   23 Monie 680 17th June 2008 - 12:32 AM
Last post by: Monie
No New Posts   6 Bruno 197 30th June 2008 - 02:17 PM
Last post by: Bruno
No New Posts   2 MikeHopley 79 Today, 04:12 AM
Last post by: c010depunkk
No New Posts   2 Jason 39 4th January 2009 - 06:37 PM
Last post by: japh