Show/Hide Layers Safari

Out of context: Reply #12

  • Started
  • Last post
  • 14 Responses
  • spiralstarez0

    CSS Rollover code:

    Had to do this today so here's the code:

    .rollOverBox {
    width:150px;
    height:22px;
    display:block
    background-color:#666666;
    }

    this makes the div class for the box of the rollover

    .rollOverBox a:hover, .rollOverBox a:active {
    background-color:green;

    }

    that sets the rollover state. Put whatever text you want in there and add style to it also if you want in those tags, if the size changes on the rollover just set the width and height to the same size as the first one...

View thread