UNL Web Developer Network Forum Index UNL Web Developer Network

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help Fixing Validation Errors

 
Post new topic   Reply to topic    UNL Web Developer Network Forum Index -> Help & Assistance
View previous topic :: View next topic  
Author Message
mwolfe1



Joined: 10 Mar 2008
Posts: 4

PostPosted: Tue Nov 03, 2009 3:46 pm    Post subject: Help Fixing Validation Errors Reply with quote

I did try W3C and figured out how to fix error in the Navigation file and one other minor error but unable to fix the two errors listed below. I've looked at other UNL website view sources and can't figure it out. Any suggestions?

Also, the navigation bar still shows up only intermittently on our web site in Internet Explorer 8.0. Works fine in FireFox. Will correcting the two errors below really fix this problem?

#1 ERROR
Line 135, Column 46: end tag for "ul" omitted, but OMITTAG NO was specified
<InstanceEndEditable></div>

SOURCE LISTING:
<li><a>Email Us</a></li>
</ul>
</li>
<InstanceEndEditable></div>
</div>
</div>
<div>
<div><InstanceBeginEditable>


#2 ERROR:
Line 318: Premature end of data in tag html line 2
<InstanceEnd></html>

SOURCE LISTING:
| <a>W3C</a> | <a>CSS</a> <a><img></a> </div>
</div>
</div>
<div> </div>
</div>
</body>
<InstanceEnd></html>
Back to top
View user's profile Send private message Send e-mail
MarkHiatt



Joined: 26 Jul 2004
Posts: 30
Location: '501' Building - Room 123.1

PostPosted: Thu Nov 05, 2009 11:05 am    Post subject: Help Fixing Validation Errors Reply with quote

Compound tags are kind of tricky, at first. Like Tables, Lists require more than a simple It-Starts-Here tag and an It-Ends-Here tag. We are so used to paragraphs starting and stopping and surrounding the text that we get confused when we need more taggage to get the idea across.

In the case of Lists, we need to start and stop our list, with <list> and </list> tags, sure. But then we also need to delineate the individual list items. These are set off from the rest of the information with <li> and </li> tags.

This is one of those times when indenting and blank lines can help a lot. You can see examples here ( http://www.unl.edu/webtraining/DWCS4HTML01/html14.shtml ). An ordered list is on the left, an un-ordered list on the right. Notice that the ordered list begins, and it contains list items for Crawl, Walk and Run, and then the ordered list ends. All of the list items must live within tags that start and stop the list, itself.

In your case, it looks like you have a list item, Email us, which correct begins and ends. Then your unordered list ends... and then another list item ends. This may be valid if you are nesting navigation links, but we don't see any other references to that. I'm thinking adding a </ul> to the final </li> may solve the problem.
_________________
=MH=
Back to top
View user's profile Send private message AIM Address
mwolfe1



Joined: 10 Mar 2008
Posts: 4

PostPosted: Thu Nov 05, 2009 11:28 am    Post subject: Fixed. Reply with quote

Putting the </ul> at the end worked. Guess I miscounted when I was checking all my tags.

Thanks!

The navigation bar still does not appear in IE 8 some of the time. It works intermittently. Can't figure this one out. It does work consistantly in Firefox.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    UNL Web Developer Network Forum Index -> Help & Assistance All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group