Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 3rd, 2008, 03:41 AM
Newbie
 
Join Date: Aug 2008
Posts: 22
Default speaking of footer...

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
Reply
  #2  
Old September 3rd, 2008, 05:43 AM
Dormilich's Avatar
Expert
 
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
Default

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.

Quote:
Originally Posted by JackRbt
in the past, I'd have used <p> or <br>, I suppose that's outmoded
quite so

regards
Reply
  #3  
Old September 3rd, 2008, 02:19 PM
David Laakso's Avatar
Expert
 
Join Date: Aug 2008
Location: US
Posts: 302
Default

Quote:
Originally Posted by JackRbt
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.
Quote:
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.
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles