Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

FabioM

Menu links não funcionam

Recommended Posts

FabioM

Boas

Tou com um problema no menu do meu site, feito com rollovers mas os links deixam de funcionar.

Criei um fiddle com o exemplo. Nos dois ultimos links retirei o text-indent e assim os links já funcionam mas não funcionam os rollovers e nos primeiros três passa-se o inverso.

Aqui está o fiddle: https://jsfiddle.net/c3fo50j4/10/

Podem ajudar?

Share this post


Link to post
Share on other sites
N3lson

Bom dia, tens aqui esta instrução ,


 

nav {
    height: 40px;
    width: 50px; <----- tamanho div
    position: relative;

}

nav ul {
    width: 260px; <----- depois tens este dentro do div mas maior que o parent
    height: 40px; < ?
    height: 100px; < ?
    padding: 0;
}

 

retira o text-indent:-99990 dos:hover e muda o tamanho do nav para valor maior, e experimenta retirar o class=cleafix

 

  • Vote 1

You can't do it, kid. But don't worry, my boy. You're not the only one. No one else can do it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.