how to remove padding with 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 }