Forums

[resolved] Really strange behaviour/problem (3 posts)

  1. Tsevdos
    Member
    Posted 2 years ago #

    Hello there,

    I've just encounter the below strange problem. I 've put all the scripts and CSS links into the head section of my new Wp theme (into the header.php file) and when I view the source code (have a look here) everything is fine.

    Now, when I'm inspecting the same page with firebug, the scripts and CSS links are suddenly appear into the body section!!! Can someone tell me why?

    This issue is making my template act strangely (like having a top margin at the body element)...

    Any suggestion/ideas?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    The W3C Validator is reporting some problems with your DOCTYPE declaration at the top of header.php. Looks like there's an odd character in there somewhere. That could well throw the whole page out.

  3. Tsevdos
    Member
    Posted 2 years ago #

    hm I'll have a look at it mate... But can such an error infect the order of the scripts/css? Sounds really strange...

Topic Closed

This topic has been closed to new replies.

About this Topic