7
On this website, the menu is a ul inline
, is inside the div
with indefinite dark-colored width. In ul
placed margin-left
to align with the blocks below...
It turns out that at another resolution or when I zoom in it goes out of place, unlike the other elements.
I have the same problem with the logo, so I put her inside a paragraph with align-center
.
How can I fix this?
.menu{ /* a div do menu logo acima dos blocos, resto do site*/
padding:0.1px;
background-color:#4e4c4f;
letter-spacing:1px;
text-transform:uppercase;
}
.menu ul{ /* o menu*/
margin-left:420px;
}
What is "out-zoom"? In the content of the question there is no reference to this...
– brasofilo
@brasofilo I meant resolution change, especially when zooming out in the browser.
– ropbla9
Ahhh, so it’s cool [Dit] the question and clarify this, so whoever wants to answer has the whole panorama in the first reading.
– brasofilo
I think I’ll give up this question and learn bootstrap not to go through it anymore. What do you think?
– ropbla9
@ropbla9 sooner or later you’ll bump into things bootstrap doesn’t natively have and need pure CSS, so in the end it’s good to master CSS even if you’re going to use a framework in the future.
– Bacco
Sopt: always have a player on Saturday night to take away that little CSS doubt :))
– brasofilo
@Bacco, how far to positioning? All my "suffocation" is due to uaheu positioning
– ropbla9
@brasofilo Why are you always the Bacco or Sergio who answers me? huaheua
– ropbla9