al41007 Posted November 18, 2013 at 11:54 AM Report #533656 Posted November 18, 2013 at 11:54 AM Bom dia. Estou a tentar criar um menu horizontal que ficará ao lado do icon do website, no meu _Layout.cshtml. Já tenho o seguinte código na minha css: ul.nav-menu { list-style-type: none; margin-left:205px; margin-top:21px; padding:0; position: absolute; } ul.nav-menu li { float: left; } ul.nav-menu li a { text-align: center; border-left:1px solid #e9e9e9; padding:8px 13px; display:block; text-decoration:none; color:#999; font-weight:bold; } ul.nav-menu li a:hover, ul.nav-menu li a.checked, ul.nav-menu li:hover ul li a:hover, ul.nav-menu li:hover ul li a.checked { color:Black; background-repeat:repeat-x; background-position:bottom; } Com este css sei que consigo criar diferentes botões/tabs para o meu menu mas como é que faço para um tab ter diversos itens?
Rui Carlos Posted November 18, 2013 at 08:29 PM Report #533725 Posted November 18, 2013 at 08:29 PM O items são definidos no HTML. Em princípio terás que criar uma sub-lista (usando o ul). Rui Carlos Gonçalves
D'Leandro™ Posted January 7, 2014 at 08:21 PM Report #539901 Posted January 7, 2014 at 08:21 PM Éssa é uma questão sobre HTML
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now