5 replies [Last post]
SteveG
Offline
Regular
Last seen: 17 years 33 weeks ago
Joined: 2004-11-16
Posts: 37
Points: 0

I am currently working on this site: http://www.switchsw.com

The page validates as XHTML 1.0 strict using the w3c checker, yet if I run the CSS checker, it states this:

Quote:
Please, validate your XML document first!

Line 104

Column 23

Element type "a" must be followed by either attribute specifications, ">" or "/>".

This is only happening on the home page and I think i must have gone blind staring at the code trying to find this error.

Does anybody have any ideas?

Thanks in advance

Steve

Anonymous
Anonymous's picture
Guru

Strange validation result

<li><a class="serv2 "href="remote-computer-assistance">Remote computer assistance</a></li> There is a space after your class name and before the quotes and no space after the quotes before the href in line 109.

SteveG
Offline
Regular
Last seen: 17 years 33 weeks ago
Joined: 2004-11-16
Posts: 37
Points: 0

Strange validation result

Thanks Triumph, well spotted.
It's so obvious now! :roll: Staring at code all day just isn't good for me!

I wonder why the w3c validator didn't pick that up though?

Anonymous
Anonymous's picture
Guru

Strange validation result

SteveG wrote:
Thanks Triumph, well spotted.
It's so obvious now! :roll: Staring at code all day just isn't good for me!
Sometimes a second pair of eyes can spot something that you keep looking over. Glad to help.

SteveG wrote:
I wonder why the w3c validator didn't pick that up though?
I think they are tinkering with their validator. Notice the css validator is throwing up warnings all over the place now.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 25 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Strange validation result

Jigsaw seems to have re-introduced the background/ foreground colour checks as a set of what looks to be accessibility checks as the warnings carry a level 1, level 2 note with them.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

SteveG
Offline
Regular
Last seen: 17 years 33 weeks ago
Joined: 2004-11-16
Posts: 37
Points: 0

Strange validation result

Can anyone point me in the right direction for fixing the Internet Explorer bug on this page: http://www.switchsw.net/home

I am presuming it is the "Guillotine" bug but I have tried several of the known fixes and internet explorer is still cutting the text off short in the floated Virus and Trojans paragraph.

Here is an image for some clarification.