webbdo+ 0 Report post Posted October 29, 2010 Hi! I have 1 Error in my theme that I want to fix so it will get validated. See this http://validator.w3.org/ And serach for my site www.webbdo.se How can i validate that? Regards P Share this post Link to post Share on other sites
cmunns 16 Report post Posted October 29, 2010 Its not a real problem using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). Self closed tag just before the error is causing an "inference" but it's not actually wrong. Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted October 31, 2010 But can I correct it? Regards P Share this post Link to post Share on other sites
cmunns 16 Report post Posted November 1, 2010 sure, you could try manually closing the Head section or look for any self-closed tags, and add a real closing tag. Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted November 2, 2010 Whitch is? The styles are closing "</style>" Share this post Link to post Share on other sites
cmunns 16 Report post Posted November 2, 2010 If you view the source generally self closed tags `/`> are red slashes Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted November 5, 2010 Ok, but in what file in WP can i edit this? Share this post Link to post Share on other sites
cmunns 16 Report post Posted November 5, 2010 Header.php Share this post Link to post Share on other sites
Andrew 207 Report post Posted November 5, 2010 Pierre, Looks like you are using a ` Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted November 6, 2010 Ok! I found it in liburary/_nav.php If I delete it the manu get messy. If i put /> instead of just > I get 2 errors. How can i fix this? But code in CSS? This is how the code looks like: <?php else:?> <style type="text/css">#nav ul#menu-main-nav,#nav ul.mnav{width:890px;}</style> <?php endif;?> <div class="clear"></div> Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted November 12, 2010 Hi! In what file? The codes arent in header, just in liburary/_nav.php but if I put in in some of them the hole theme Fxxk up" So where shod i pt it? Share this post Link to post Share on other sites
cmunns 16 Report post Posted November 12, 2010 wrong file, it would be in dynamic_css.php but honestly I'm not sure if you wrap the whole thing or just the parts that are being used since it applies to options. Andrew would be a better person to consult, I'll email him this thread. Share this post Link to post Share on other sites
Andrew 207 Report post Posted November 12, 2010 Somehow you have a ` Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted November 16, 2010 When I turn the "blue" menu on the tag appears there. Back to grey all are fine. So it does have whit the theme to do... So how shod I fix it? Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted December 3, 2010 Anyanswer? Share this post Link to post Share on other sites
cmunns 16 Report post Posted December 3, 2010 The file that needs correcting is _nav.php Remove this line from the file `` If something breaks after removing it, then add the css portion of it to your css file Share this post Link to post Share on other sites
webbdo+ 0 Report post Posted December 4, 2010 Yes the site breaks down. Only header showing. What shod I add into the CSS exacly? Share this post Link to post Share on other sites
catrina 103 Report post Posted December 4, 2010 If I'm understanding Adam correctly, add this portion into the CSS: #nav ul, #menu-main-nav, #nav ul.mnav {width:890px;} Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites