remove padding css code example Example 1: over to remove padding css style= "display: block"; Example 2: how to remove default padding of div div{ padding:0 }