The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. Having a terrible time ordering the CSS Styles and Scripts in my header

    Having a terrible time ordering the CSS Styles and Scripts in my header

    On-Page / Site Optimization
    12 3 3.6k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LesleyPaone
      LesleyPaone last edited by

      Try taking these two lines out

      http-equiv="Content-Script-Type" content="text/javascript" />

      http-equiv="Content-Style-Type" content="text/css" />

      And moving this line to where they were

      href="http://www.myfairytalebooks.com/templates/__custom/Styles/styles.css" media="all" type="text/css" rel="stylesheet" />

      1 Reply Last reply Reply Quote 2
      • MyFairyTaleBooks
        MyFairyTaleBooks last edited by

        Where do you suggest the actual CSS include happen at the very beginning or the very end of the

        1 Reply Last reply Reply Quote 0
        • LesleyPaone
          LesleyPaone last edited by

          All of the css needs to be included before the first line of javascript, including inline javascript. That is why you would move that css up to where you deleted the two lines from.

          1 Reply Last reply Reply Quote 2
          • MyFairyTaleBooks
            MyFairyTaleBooks last edited by

            Hi Sorry,

            I miss-understood, I did what you suggested and it still complains this time about 2 blocking scripts and 1 blocking css 😞

            Eliminate external render-blocking Javascript and CSS in above-the-fold content

            Your page has 2 blocking script resources and 1 blocking CSS resources.

            Learn more

            • Remove render-blocking JavaScript:
              • http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
              • http://www.myfairytalebooks.com/content/scripts-fairy.js
            • Optimize CSS delivery for the following resources:
              • http://www.myfairytalebooks.com/templates/__custom/Styles/styles.css

            Thanks,
            Dinesh

            1 Reply Last reply Reply Quote 0
            • LesleyPaone
              LesleyPaone last edited by

              I did not notice this before, but it looks like you have a js error on your site. Try moving this

              Right under this line

              rel="shortcut icon" href="http://www.myfairytalebooks.com/product_images/favicon.ico?1370451016" />

              MyFairyTaleBooks 1 Reply Last reply Reply Quote 2
              • MyFairyTaleBooks
                MyFairyTaleBooks @LesleyPaone last edited by

                Do not see anything 🙂

                1 Reply Last reply Reply Quote 0
                • LesleyPaone
                  LesleyPaone last edited by

                  Check it now, the editor bugged out.

                  1 Reply Last reply Reply Quote 2
                  • MyFairyTaleBooks
                    MyFairyTaleBooks last edited by

                    Thanks! I did the move and it still complains, maybe it is the external justuno.com stuff that is really the problem?

                    1 Reply Last reply Reply Quote 0
                    • LesleyPaone
                      LesleyPaone last edited by

                      It seems fixed on my end, also the javascript problem is fixed too. Clear your cache and try, see this screenshot http://screencast.com/t/y93SDZScAR

                      CrystalMHL 1 Reply Last reply Reply Quote 2
                      • MyFairyTaleBooks
                        MyFairyTaleBooks last edited by

                        Thank you seems to have cleared that one item up at least!

                        1 Reply Last reply Reply Quote 0
                        • CrystalMHL
                          CrystalMHL @LesleyPaone last edited by

                          Would you mind explaining to me how you are finding this information. What do I need to look for specifically? I'm having the same issues except there's 11 blocking script resources and 13 blocking CSS resources. I'm not finding too much information on searches (that I understand) nor do I understand Google's mod_pagespeed. Thank you very much. Sorry to highjack the forum. It was the only Q&A that came up in the Moz search.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • Is Wix still terrible for SEO?
                            Adlanera
                            Adlanera
                            0
                            8
                            7.7k

                          • Optimize CSS Delivery
                            CleverPhD
                            CleverPhD
                            0
                            3
                            5.7k

                          • Is there any problem up-dating changes on our web say 2 0r 3 time in one day or sould it be 2-3 times a month
                            mememax
                            mememax
                            0
                            4
                            69

                          • Add Expires Headers
                            ThompsonPaul
                            ThompsonPaul
                            0
                            2
                            693

                          • Combining CSS
                            Matthew_Edgar
                            Matthew_Edgar
                            0
                            2
                            244

                          • CSS and Spiders
                            SEODinosaur
                            SEODinosaur
                            0
                            9
                            678

                          • Jquery for Header
                            Vahe.Arabian
                            Vahe.Arabian
                            0
                            4
                            540

                          • Links in header tags
                            WSOT
                            WSOT
                            0
                            4
                            665

                          Get started with Moz Pro!

                          Unlock the power of advanced SEO tools and data-driven insights.

                          Start my free trial
                          Products
                          • Moz Pro
                          • Moz Local
                          • Moz API
                          • Moz Data
                          • STAT
                          • Product Updates
                          Moz Solutions
                          • SMB Solutions
                          • Agency Solutions
                          • Enterprise Solutions
                          • Digital Marketers
                          Free SEO Tools
                          • Domain Authority Checker
                          • Link Explorer
                          • Keyword Explorer
                          • Competitive Research
                          • Brand Authority Checker
                          • Local Citation Checker
                          • MozBar Extension
                          • MozCast
                          Resources
                          • Blog
                          • SEO Learning Center
                          • Help Hub
                          • Beginner's Guide to SEO
                          • How-to Guides
                          • Moz Academy
                          • API Docs
                          About Moz
                          • About
                          • Team
                          • Careers
                          • Contact
                          Why Moz
                          • Case Studies
                          • Testimonials
                          Get Involved
                          • Become an Affiliate
                          • MozCon
                          • Webinars
                          • Practical Marketer Series
                          • MozPod
                          Connect with us

                          Contact the Help team

                          Join our newsletter
                          Moz logo
                          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy