size p box to its lenght css html code example Example: box sizing border box *{ box-sizing: border-box; }