By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

speaking of footer...

P: 22
to have space between my footer and whatever body content is above it, I'd think that using margin-top would be the best practice, yes?

or padding?

Does it matter if the bkg is all white?

in the past, I'd have used <p> or <br>, I suppose that's outmoded
Sep 3 '08 #1
Share this Question
Share on Google+
2 Replies


Dormilich
Expert Mod 5K+
P: 8,639
I can't think of any other.
the difference between padding and margin (in case of the background colour) is, that with padding you have the footer's background, while with marging you have whatever background lies underneath.

in the past, I'd have used <p> or <br>, I suppose that's outmoded
quite so

regards
Sep 3 '08 #2

Expert 100+
P: 397
to have space between my footer and whatever body content is above it, I'd think that using margin-top would be the best practice, yes?
or padding?
I think it depends on how your page is structured. Putting padding-bottom on the wrapper containing the content, for example, will push the footer down creating a space between the bottom of the content and the top of the footer.
Does it matter if the bkg is all white?
Does it matter if what background is all white? The content wrapper background might be white down to the footer, and the footer background might be a different color. Or both might have white backgrounds.
Sep 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.