0
Welcome Guest! Login
0 items Join Now

CSS Specific to Module

  • CSS Specific to Module

    Posted 17 years 4 months ago
    • Hello,

      I have a module in which I have modified some basic CSS (a, img, h4 and componentheading) properties. To make these changes I added <style type="type/css"> in the code section of the module. This works when rendering the page, but it does not validate.

      I do have my own user_content.css that I use in most cases when creating content but if I make changes to these tags, it changes all of the elements.

      What is my best route for getting this into a css file yet making it specific to that particular module?

      Here is the code...
      <style type="text/css">
      a {
      text-decoration: none;
      }
      img {
      border: none;
      }
      h4 {
      margin: 10px 0px -5px 0px; 
      }
      .componentheading {
      padding: 0px 5px;
      margin-bottom: 0px;
      }
      </style>

      Here is the page...

      http://www.mailhost123.com/content/view/53/79/

      Thanks,

      Jamie Jensen

Time to create page: 0.071 seconds