Answer by Jordan Davis for Unwanted spacing between html elements
Your using a <center> tag if your using HTML5 it's not supported... if your not using HTML5 the <center> tag is a block element, add display: inline-block in the css.
View ArticleAnswer by Karli Ots for Unwanted spacing between html elements
if you want, you can always CSS your way through it, something like* { margin:0; padding:0; }It should reset All elements, after that you define new paddings and margins, which is much easier ;)
View ArticleAnswer by Guffa for Unwanted spacing between html elements
You have encountered collapsing margins.When elements have top or bottom margin, and the parent element doesn't have a border or padding, the margins collapes. The effect is that the margin is visible...
View ArticleAnswer by Kristijan Iliev for Unwanted spacing between html elements
It seems that your paragraph tag has a margin.Apply this css rule:.footer p { margin: 0;}Here is a fiddle
View ArticleUnwanted spacing between html elements
It appears as if there is padding between two of my elements - content1 and footer. I do not want this 'padding' but I cannot understand why it is there at all. Here is part of problematic html text on...
View Article