3 Replies Latest reply: Jun 24, 2013 11:28 PM by Ben Pleysier RSS

    Help.. JQuery plugin & CSS

    2wsx3edc Community Member

      I was trying to change the color when I hover to the apple. Is there a way to change the color and margin if I want to move "apple" further from left? Not sure if my CSS is correct, but it doesn't display the color and margin I want.....help..

       

      Below is the sample code.

       

      <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

      <!--[if lt IE 8]>

              <script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>

          <![endif]-->

          <script src="js/danielstocks-jQuery-Collapse-7ea0f00/src/jquery.collapse.js"></script>

          <script src="js/danielstocks-jQuery-Collapse-7ea0f00/src/jquery.collapse_cookie_storage.js"></scr ipt>

          <script src="js/danielstocks-jQuery-Collapse-7ea0f00/src/jquery.collapse_storage.js"></script>

      </head>

       

       

      <body>

      <div id="demo" data-collapse="accordion persist">

        <p>Fruits</p>

        <ul>

          <li><style="color: rgba(255,255,255,1)"><a href="fishpeanut.html" target="_blank">apple</a></li>

          <li>Pear</li>

          <li>Orange</li>

        </ul>

        <h2>Hint</h2>

        <ul>

          <li>Apple</font></li>

          <li>Pear</li>

          <li>Orange</li>

        </ul>

        <h2>Third</h2>

        <p>Just a paragraph here</p>

      </div>

       

       

      </body>

      </html>