Plz check the "box model": border-box / content-box
width + padding + border = actual visible/rendered width of box
height + padding + border = actual visible/rendered height of box
Vra
Im trying to insert this on my topmenu in Prestashop:
border-bottom: 3px solid rgba(0, 0, 0, 0.6);
background:#fff;
it makes the background white, but the border is inside ( on the white background )
when its on a normal page, its outside the box, whats going on?
Oplossing
Plz check the "box model": border-box / content-box
width + padding + border = actual visible/rendered width of box
height + padding + border = actual visible/rendered height of box