2 replies [Last post]
jhewi
jhewi's picture
Offline
newbie
uk
Last seen: 2 years 51 weeks ago
uk
Timezone: GMT+1
Joined: 2011-07-29
Posts: 6
Points: 8

Can't find how to fix this validation error on my website http://www.ch3magazine.com/ .

W3 says this: Line 403, Column 7: end tag for "div" omitted, but OMITTAG NO was specified

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

I have looked and looked but must be missing something and I would be very very grateful if anybody could look at the source code and help me out please Smile.
The 3 divs underneath the menu aren't even there in internet explorer, which is another issue I need to resolve.

Thanks
Jo

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 1 year 44 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

The error is pretty clear.

The error is pretty clear. You have an unclosed div. There are lots of ways to discover which it is. Some code editors provide code folding, dreamweaver will highlight an element using ctrl+[ (or maybe ctrl+] ). Or copy the page source in to a text editor and remove elements one by one from the inside out.

jhewi
jhewi's picture
Offline
newbie
uk
Last seen: 2 years 51 weeks ago
uk
Timezone: GMT+1
Joined: 2011-07-29
Posts: 6
Points: 8

Thanks Chris, I've just

Thanks Chris, I've just sorted it. Quite funny, as I've now got an extra

when I re-validated. Thanks for your suggestions Smile