Jump to content

Validation

getting content to validate

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Validation getting content to validate Rate Topic: -----

#1 User is offline   Jacob Haug 

  • Flash Guru
  • Group: Banned
  • Posts: 209
  • Joined: 30-September 06
  • Gender:Male
  • Location:On The Internet
  • Interests:Website Design, Computer Programing, and Music

Post icon  Posted 06 January 2007 - 07:04 AM

Ok, yes it is me once again...but this time I have real errors, actually 27 errors. But they are all the same thing. One is, it will not let me use the "<br />" tag...I don't understand...I used the correct one with the space and ending slash what is wrong.

Next, a "&middot;" code, why will this not validate...what the heck am I doing wrong. Both of these things I have done on other pages and they validated...why not here?

Here is the URL to the w3c valuator.
http://validator.w3.org/check?uri=http%3A%...ww.lcmhp.com%2F

Here is the URL to the main website.
http://www.lcmhp.com/
Jacob Haug
Flash Specialist

#2 User is offline   benbacardi 

  • Administrator
  • Group: Administrators
  • Posts: 1,140
  • Joined: 06-April 06
  • Gender:Male
  • Location:United Kingdom

Posted 06 January 2007 - 07:22 AM

Well first off, if you're using XHTML Strict, you can't have a <br /> tag just sitting in the <body> tag. Strict stipulates that it must be placed in one of the following:

Quote

"p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del"


So wrapping everything in one big <div> or something like that will fix the majority of your errors...

As for the other error, i really don't know :S
0

#3 User is offline   Jacob Haug 

  • Flash Guru
  • Group: Banned
  • Posts: 209
  • Joined: 30-September 06
  • Gender:Male
  • Location:On The Internet
  • Interests:Website Design, Computer Programing, and Music

Posted 06 January 2007 - 07:39 AM

So does any one have any ideas about the "&middot;" issue?
Jacob Haug
Flash Specialist

#4 User is offline   James Mitchell 

  • Legendary
  • Group: Administrators
  • Posts: 922
  • Joined: 26-July 06
  • Gender:Male
  • Location:Fort Wayne, IN

Posted 06 January 2007 - 08:34 AM

After some investigation, I believe you can't have that "character" &middot; or any like it after LI's. The validator is stating that it is out of place. Technically it is in nowhere land.
Posted Image
0

#5 User is offline   Jacob Haug 

  • Flash Guru
  • Group: Banned
  • Posts: 209
  • Joined: 30-September 06
  • Gender:Male
  • Location:On The Internet
  • Interests:Website Design, Computer Programing, and Music

Posted 06 January 2007 - 09:17 AM

Thanks, that worked...it was just because it's outside of the LI element. You cant have any code between LI's or between an LI and a </ul>
Jacob Haug
Flash Specialist

#6 User is offline   James Mitchell 

  • Legendary
  • Group: Administrators
  • Posts: 922
  • Joined: 26-July 06
  • Gender:Male
  • Location:Fort Wayne, IN

Posted 06 January 2007 - 10:20 PM

View PostJacobHaug, on Jan 6 2007, 09:17 AM, said:

Thanks, that worked...it was just because it's outside of the LI element. You cant have any code between LI's or between an LI and a </ul>


Great... that is what I thought.
Posted Image
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users