Not signed in (Sign In)

Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.

Syntax Highlighting

You can highlight any code you post by wrapping it in the BBCode tags, [code lang="css"]code here[/code]. Other usable lang values are "xml", "html", "xhtml", "css", "js", "javascript", "php", "sql", "python", "py", "ruby", "rb", and "java".

Choose the Format Comments option "SyntaxHighlighter" to use this BBCode. Note that no other BBCode is supported at the moment.

    • CommentAuthorGordonG
    • CommentTimeJan 15th 2010 edited
     
    I have 2 style sheets attached to 1 page on both a testing server and a live server - exact copies on both systems, but they do not show the same css applied, (using firebug to view)

    On the page I have a tags, with styles attached depending on the whether they ware wrapped in a div class, or several levels of different wrappers.

    for a basic a tag style, in the 1st css file:

    a{
    color: #ff0000;
    }

    for the a tags wrapped in my "chapter" class div, in the second css file:

    .chapter a{
    color: #0000ff;
    }

    the html code, on the page:

    <div class="chapter"><a href="#">this is a test</a></div>

    on the test system, the text is in the blue, as I would expect,
    but coming from the live system it is red. In firebug, the view shows the...

    .chapter a{
    color: #0000ff;
    }

    ..style with a strike through the color attribute.

    What could be happening to make exactly the same css look different?

Valid XHTML 1.0 Strict

Valid CSS!