|
It seems that many browsers style the <p> tag using margin instead of padding. This can easily mess up a background when put on a specific div. Instead of backgrounding the whole div you are often left with an annoying blank part at the top.
The obvious fix to this is.
p {margin:0px; padding:15px 0 0 0;}
Are there any situations where this would present a problem in the visual appearence webpage?
If no problems arise from this then does anyone know why browsers use margin instead of padding when it comes to <p>?
|