ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

css stylsheet works only with @media='all'

February 01, 2008 6:55am

Subscribe [1]
  • #1 / Feb 01, 2008 6:55am

    blackhorse

    4 posts

    Hi,
    I have a page where just at the beginning I call a menu-template (embeded). This embeded menu has its own css stylesheet and works. But the initially css belonging to the page doesn’t seam to work correct. It seams that the page_css works only correct with the @media=‘all’ at the beginning of the css, but doesn’t seam to work at all without this variable. I work with Opera 9.1 ant I thought this parameter should affect only old browsers. I can’t explain why without this parameter the page_css doesn’t seam to become active. Anybody some idea?

  • #2 / Feb 01, 2008 12:49pm

    blackhorse

    4 posts

    OK, problem solved now !!!!


    this was my own trap, i fell in.
    My whole css started with

    @media all
    {

    css text

    }

    when i switched off @media all then i forgot to disable the { }

    but now without this brackets, everthing works as it should.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases