I am having difficulties getting my page to validate when outputting CSS with my forms. If I turn off the CSS, the page passes W3C validation. However when I am using the Gravity Forms CSS output I get the following message and fail W3C validation:
Line 218, Column 261: document type does not allow element "link" here
It seems this code is causing the problem:
<link rel='stylesheet' id='gforms_css-css' href='http://www.cehwitham.com/alex/wp-content/plugins/gravityforms/css/forms.css?ver=3.0.4' type='text/css' media='all' />
The form is displayed on my homepage: http://www.cehwitham.com
Please advise if I can move the stylesheet links into the head section or solve this problem by other means.