I am making a menu vertical
and putting the black color as background. What I'm going through is that I want to leave a fixed width of 200px
for each menu line, except that it does not change. It leaves the size according to the size of the text.
HTML Code:
<div class="col-md-3">
<img src="" border="0" class="img-responsive">
<nav>
<ul>
<li><a href="">A empresa</a></li>
<li><a href="">Nossos serviços</a></li>
<li><a href="">Nossos produtos</a></li>
<li><a href="">Vídeos & Downloads</a></li>
<li><a href="">Fale conosco</a></li>
</ul>
</nav>
CSS:
ul{
list-style: none;
width: 100%;
}
ul li{
display: block;
margin-top:25px;
float:none;
}
ul li a{
background:#000;
padding:10px;
width: 200px;
}