Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: CSS is written in the header? #34607
    Kay
    Participant

    Thanks for responding. Let me try to explain again:
    Normally at the header section of html source code is only <link rel=”stylesheet” type=”text/css” href=”style.css”>. The .css is loaded external.
    On my site (amtl.org) if you right-click and say “show source code” is the whole content of the style.css written:
    <style type=”text/css”>

    /*————————————————–
    =>> Common – Begining Css
    ————————————————–*/
    blockquote {
    border-left: 3px solid #2ea3f2;
    }

    td a {
    color: #2ea3f2;
    }

    So now everybody get the full css code shown at html source code. This is NOT normal and not needed.
    What can i change to this?

    in reply to: CSS is written in the header? #34594
    Kay
    Participant

    Thanks for fast respond:
    When you get to the source code of the page amtl.org, you’ll see tons of CSS code. Normally, the stylesheet files are only loaded, but not displayed. The header is thus unnecessarily inflated and the meta tags are poorly read. Is there a way to NOT display the loaded css files and the additional-css in the header?

Viewing 2 posts - 1 through 2 (of 2 total)