Jump to content
Fórum Script Brasil
  • 0

Centralizar menu horizontal no blogger


mmota

Question

Oi pessoal! Cheguei a este fórum procurando uma solução para centralizar um menu horizontal no blogger mas nenhum dos CSS resolveu meu problema. Será que vocês poderiam dar uma mão? Valeu!

/* NavbarMenu

--------------------------- */

#NavbarMenu {

background: #555

url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVU82PLeYMI/AAAAAAAAA6c/R8Ip5ZMFIh8/s1600/navbar.png);

width: 908px;

height: 35px;

font-size: 12px;

font-family: Arial, Tahoma, Verdana;

color: #FFF;

font-weight: bold;

margin: 5px;

padding: 0;

text-transform: capitalize;

}

#NavbarMenuleft {

width: 100;

float: left;

margin: 0;

padding: 0;

}

#nav {

margin: 0;

padding: 0;

}

#nav ul {

float: left;

list-style: none;

margin: 0;

padding: 0;

}

#nav li {

list-style: none;

margin: 0;

padding: 0;

}

#nav li a, #nav li a:link, #nav li a:visited {

color: #FFF;

display: block;

font-size: 16px;

font-family: Georgia, Times New Roman;

font-weight: normal;

text-transform: capitalize;

margin: 0;

padding: 9px 15px 8px;

border-right: 1px solid #fff;

}

#nav li a:hover, #nav li a:active {

background: #555 url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVU-vl5H-bI/AAAAAAAAA68/U4rkLsg0HqE/s1600/navhov.png);

color: #FFF;

margin: 0;

padding: 9px 15px 8px;

text-decoration: none;

}

#nav li li a, #nav li li a:link, #nav li li a:visited {

background: #555;

width: 150px;

color: #FFF;

font-size: 14px;

font-family: Georgia, Times New Roman;

font-weight: normal;

text-transform: capitalize;

float: left;

margin: 0;

padding: 7px 10px;

border-bottom: 1px solid #FFF;

border-left: 1px solid #FFF;

border-right: 1px solid #FFF;

}

#nav li li a:hover, #nav li li a:active {

background: #777;

color: #FFF;

padding: 7px 10px;

}

#nav li {

float: left;

padding:0;

}

#nav li ul {

z-index: 9999;

position: absolute;

left: -999em;

height: auto;

width: 170px;

margin: 0;

padding: 0;

}

#nav li ul a {

width: 140px;

}

#nav li ul ul {

margin: -32px 0 0 171px;

}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {

left: -999em;

}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {

left: auto;

}

#nav li:hover, #nav li.sfhover {

position: static;

}

Edited by mmota
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...