in reply to Re: Style Sheet Doesn't Display Styles
in thread Style Sheet Doesn't Display Styles

Can we see your style sheet, please? If I put .bodytext { color: #F00 } in training_site.css, I see both paragraphs in red.

Replies are listed 'Best First'.
Re^3: Style Sheet Doesn't Display Styles
by JaredHess (Acolyte) on Jul 19, 2006 at 21:20 UTC
    Hmm. I wonder if it is a style sheet problem. I didn't even think of that. If so, why would it function in the normal .htm file but not in my Perl script though? Anwyay, here's the style sheet:
    a { color: #000099; } a:hover{ color:#33FF33; background-color:white; text-decoration:underline; } .smallred { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #CC0000; } .smallblack { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color:#000000; } .smallblackheading { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color:#000000; font-weight: bold; } .smallredheading { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color:#CC0000; font-weight: bold; } .h1shade { font-family: Arial, Helvetica, sans-serif; font-size: 36px; text-transform: lowercase; color: #000066; background-color: #CCCCCC; } .h2shade { font-family: Arial, Helvetica, sans-serif; font-size: 24px; text-transform: lowercase; color: #330066; background-color: #CCCCCC; } .h3shade { font-family: Arial, Helvetica, sans-serif; font-size: 18px; text-transform: lowercase; color:#990000; background-color: #CCCCCC; } .h1 { font-family: Arial, Helvetica, sans-serif; font-size: 36px; text-transform: lowercase; color: #000066; } .h2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; text-transform: lowercase; color: #330066; } .h3 { font-family: Arial, Helvetica, sans-serif; font-size: 18px; text-transform: lowercase; color:#990000; } .bar { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 24px; color: #000033; text-transform: lowercase; background-color: #FFCC00; border-style: solid; border-top-width: 3px; border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-color: #333333; } .note { border-style: solid; border-top-width: 10px; border-color:#660033; } .bodytext { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color:#000033 font-weight: normal; border:solid thin yellow; }

      color:#000033
      should be
      color:#000033;

      missing semicolon after

        color:#000033
      in .bodytext {

      can't help.