Outline In case your layout is broken you can investigate positioning and shape of elements by applying outline css property to all elements. * { outline: 1px solid red; } outline is better than border property, because it doesn't add any physical border to an element and does not change positioning of elements.