Validation Error

A place to ask questions and get help. Be the first on your block to post ...

Validation Error

Postby Sarah Browning » Tue May 13, 2008 3:37 pm

I keep getting the validation error below for http://extensionhorticulture.unl.edu. I can't seem to figure out how to fix it. Can you help? Thanks!

Line 268, Column 106: document type does not allow element "link" here.

…ss" rel="stylesheet" type="text/css"/>
Sarah Browning
 
Posts: 4
Joined: Wed Jan 25, 2006 10:01 am

Postby beck » Thu May 15, 2008 2:26 pm

You can't put a <link> element in the "body" of the page, it needs to be up in the "head".

Since this reference is in your navigation.html file it will insert itself into the body and not the head - which is also why all your pages are not validating. If you want this css link on all your pages, do a quick find replace for something in the header and add in the link reference, then post your entire site again, all pages will then include the reference.

Hope that helps clear things up.

Bryan
beck
 
Posts: 41
Joined: Thu Oct 06, 2005 11:02 am
Location: VCSA


Return to Help & Assistance

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron