CSS property increase width

0

I'm creating a menu. It looks like this, but I would like the background to extend to the end of the search field. When you increase width or paddin-left it will not. I will post my CSS for you to see. The div regarding the menu is .teste .

My CSS code

 .teste{  
overflow: hidden;

}

.teste ul{
    background: #40403E;

  border-bottom: 1px solid #FE980F;

  list-style: none outside none;

  padding-bottom: 300px;

  margin left: 900px;

  width: 100%;

}

.teste ul li a {

  border: 0 ;

  border-radius: 0;

  color: #B3AFA8;

  display: block;

  font-family: 'Roboto', sans-serif;

  font-size: 14px;

  text-transform: uppercase;
}
    
asked by anonymous 20.06.2017 / 05:42

1 answer

0

Inspect with the browser, place the arrow in the menu and check line by line, try to find out what is "pushing" or "suffocating" this div.

Checks the properties Display, position also

Hugs.

    
20.06.2017 / 06:14