Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Current page boton with img

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25198
    ifrank
    Member

    i need a corrent page code for the current img stastus thnks if any help

    ok this my code on de css part :

    Code:
    }
    ul#nav {
    z-index:200;
    position:absolute;
    float:left 5px;
    padding-top:138px;
    padding-left:5px;
    width: 520px;
    }
    ul#nav li {
    display:inline;
    }
    ul#nav li a {
    display:block;
    height:46px;
    float:left;
    }
    ul#nav li.inicio a {
    width:123px;
    background-image:url(img/inicio_Btn.png);
    background-position:top;
    }
    ul#nav li.galeria a {
    width:123px;
    background-image:url(img/galeria_Btn.png);
    background-position:top;
    }
    ul#nav li.servicios a {
    width:123px;
    background-image:url(img/servicios_Btn.png);
    background-position:top;
    }
    ul#nav li.contacto a {
    width:123px;
    background-image:url(img/contacto_Btn.png);
    background-position:top;
    }
    ul#nav li a:hover {
    width:123px;
    background-position:center;
    }
    ul#nav li a:active {
    width:123px;
    background-position:bottom;
    }

    html:

    <ul id="nav" name="nav">
    <li class="inicio"><a href="index.html"></a></li>
    <li class="servicios"><a href="servicios.html"></a></li>
    <li class="contacto"><a href="contacto.html"></a> </li>
    <li class="galeria"><a href="galeria.html"></a></li>
    </ul>

    #59323
    kamil
    Member

    If u given any respective link. it might be useful to solve your things, anyways try this

    ul#nav li.active a {
    background:url(../images/menuhover.gif) no-repeat;
    background-position:bottom;
    }

    #59790
    ifrank
    Member
    #59956
    ifrank
    Member

    still need help any body

    #60293
    ifrank
    Member

    bump any body??

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.