4 Replies Latest reply on May 29, 2010 3:05 AM by hans-g.

    Shorthand for css-advices

    hans-g. Adobe Community Professional & MVP

      Hi all,

       

      her I describe one of my css definitions, which are all from the same statement.

       

      #myAdv div #Adv1 {
      font-family: "Comic Sans MS", cursive;
      font-size: 11px;
      font-weight: bold;
      font-style: italic;
      }
      #myAdv div #Adv2 {
      font-family: "Comic Sans MS", cursive;
      font-size: 11px;
      font-weight: bold;
      font-style: italic;
      }
      and so on.

       

      Is there a shorthand-combination for all these instructions, for example:

       

      }
      ##myAdv div #Adv1, #myAdv div #Adv2, #myAdv div #Adv3 {
      font-family: "Comic Sans MS", cursive;
      font-size: 11px;
      font-weight: bold;
      font-style: italic;
      }

      Thank's in advance for your constructive comments.

       

      Hans-G.