Witam forumowiczów

Problem do rozwiązania:
A )
Czy akcję :hover można w moim przypadku przypisać wspólnie do kilku identyfikatorów?
(np.)
#icons li a:hover {
background-position: -55px 0;}

B )
1 podstrona: obrazek jest "inactive", akcja :hover obrazek "active" (to działa)
2 podstrona: obrazek jest "active", akcja :hover bez zmian (to nie działa)

Z góry dziękuję za wytyczne w tej kwestii.
/a_kiler


strona1.html:
  1. <div id="icons">
  2. <ul>
  3. <li><a class="item1" href="link1"></a></li>
  4. <li><a class="item2 active" href="link2"></a></li>
  5. <li><a class="item3" href="link3"></a></li>
  6. </ul>
  7. </div>

styl.css
  1. #icons li {
  2. list-style-type:none;}
  3. #icons li a {
  4. width:55px; height:55px; margin: 5px 3px 5px 4px; padding:0;
  5. display:block; float:left;}
  6.  
  7. #icons li a.item1 {
  8. background: transparent url(../images/1.png) no-repeat;}
  9. #icons li a.item1:hover {
  10. background-position: -55px 0;}
  11. #icons li a.item2 {
  12. background: transparent url(../images/2.png) no-repeat;}
  13. #icons li a.item2:hover {
  14. background-position: -55px 0;}
  15. #icons li a.item3 {
  16. background: transparent url(../images/3.png) no-repeat;}
  17. #icons li a.item3:hover {
  18. background-position: -55px 0;}
  19.  
  20.  
  21. #icons li.active a {
  22. background-position: -55px 0;}