Validation

Permalink
My original design validated at w3c. However, when I created the theme and loaded it into concrete5 v5.4.1.1 it will not validate (www.newlightministry.org/index.php.

Does concrete5 validate normally or am I just putting my theme together wrong. Most of the errors seem to come from code outside my theme.

Thanks for your help

 
iconicschema replied on at Permalink Best Answer Reply
It looks like you are manually adding in a few things that Concrete5 generates such as the title tag.

Go through the invalid codehttp://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.ne... and search for them one at a time.
ewc07 replied on at Permalink Reply
Thanks, I got everything to validate on the xhtml. but still having problems with the css validating. The css files are in the concrete folder, can we edit those files to try to make them validate?

Thanks,
jordanlev replied on at Permalink Reply
jordanlev
Concrete5 does some things that cause invalid markup (off the top of my head I know that it often puts <style> tags in the body of the document and not in the <head> where they're supposed to be).

Unfortunately there is nothing you can do to change this because it's tied into how the core system functions. Fortunately it still works in every browser (but I know this isn't necessarily the point of validation).

-Jordan
ewc07 replied on at Permalink Reply
Thanks Jordan,
I finally got everything to validate in my html and css. You are right about some of the things injected into the code. The login block put styles in the html so I deleted them from the login block php file and put them in my css file as well as closing some tags properly and everything validated and still looks good.

Thanks for your input.