• steelerdirtfreak

    (@steelerdirtfreak)


    Can anyone spot any reason why the css for my div class=”description” is being ignored as far as the color?

    It seems that everything else is as it should be, but the color is being ignored and I can’t figured out what is over-ruling it.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter steelerdirtfreak

    (@steelerdirtfreak)

    And a second part to this question would be –
    Why does the W3 validator tell me that “document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag?”

    This is a basic default div, is it not?

    Kafkaesqui

    (@kafkaesqui)

    Remove .description from this section in your css (it’s overriding your initial class declaration):

    h1, h1 a, h1 a:hover, h1 a:visited, .description {
    text-decoration: none;
    color: white;
    }

    Kafkaesqui

    (@kafkaesqui)

    I believe the validation error you’re getting is due to including the description div in the <strong> element.

    Thread Starter steelerdirtfreak

    (@steelerdirtfreak)

    Thanks! missed that completely!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘css for .description being ignored’ is closed to new replies.