3
I have a div central and a div to put the menu. The problem is that it is with a left margin that I can not take out in any way. I believe it is due to the style of the UL.
3
I have a div central and a div to put the menu. The problem is that it is with a left margin that I can not take out in any way. I believe it is due to the style of the UL.
2
analyzing your code what is missing is to reset the margin and padding the ul tag, follow the code:
.cardt {
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(63, 63, 68, 0.1);
  background-color: #FFFFFF;
  margin-bottom: 30px;
  
}  
  .panoramamoedas{
    width:100%;
    margin:0;
  }
.panoramamoedas ul{
  margin: 0;
  padding: 0;
}
.panoramamoedas ul li {
  display: block;
  backgroun: red;
  border-bottom: 1px solid #CCC;
  text-align: left;
  list-style-type: none;
}
.panoramamoedas a:link {
  color: #666;
  font-weight: bold;
  text-decoration: none;
  padding: 8px;
  display: block;
}
.panoramamoedas a:hover {
  background: #F5F5F5;
  color: #039;
}<div class="cardt">
  <div class="panoramamoedas" >
    <ul>
      <li><a href="link1.htm">teste</a></li>
      <li><a href="link1.htm">teste2</a></li>
    </ul>
  </div>
</div>You copied it from my comment.
@Gumball No, it was at the same time! I did not respond based on your comment, I’m sorry if you implied.
No, now I’m gonna sue you for copying information.
@Gumball kkkkk
Browser other questions tagged html css menu
You are not signed in. Login or sign up in order to post.
Puts
margin: 0andpadding: 0in theUL– Diego Souza
Thank you, Gumball. You’ve helped so much! :)
– Joao Marcos
Faith in the Father that the enemy falls!
– Diego Souza