3 Replies Latest reply: Feb 22, 2011 3:33 AM by John Waller RSS

    PHP code in css file

    mahendra rajeshirke Community Member

      hi,

       

      i wonder when i happened to css file, the webpage inwhich the css file is attached is built in php lang.

       

      in css code following php lines were added

       

      #msc_menu {
          position: relative;
          float: right;
          width: <?php echo $menu_width?>px;
          margin: 0px 0px 10px;
          padding-top: 10px;
          font-family: <?php echo $theme_fonts_titles?>;
          font-size: 10px;
          background: <?php echo $theme_menu_bg?>;
          border-top: 1px solid <?php echo $theme_menu_bg?>;
          border-bottom: 1px solid <?php echo $theme_menu_bg?>;
          clear: both;
      }

       

      it is great to see it.