...

View Full Version : Gap at bottom of page



nicky
10-29-2009, 06:20 PM
Here's the page: www.janetmperkins.com/test.php

At the bottom of the page, there's like 10 pixels of white space. Before I added the Facebook and Twitter logos, there was maybe like 2 or 3 pixels. How can I reduce this because it appears on all the pages? I thought it'd be something as something as simple and putting 0 to the margin attribute, but that didn't work.

SB65
10-29-2009, 06:46 PM
It's the bottom margin on the p element in #footer.

Try:


#footer p{margin-bottom:0}

Excavator
10-30-2009, 03:07 AM
Hello nicky,
I always like to put a reset at the top of the CSS to eliminate problems like this before they happen.
Yours would look like this -

*{
margin:0;
padding:0;
}
body {background:#ffffff;
color:#202020;
font-family:arial,helvetica,tahoma,times;
font-size:10pt;
font-weight:bold;
line-height:14pt;}

td {text-align:left;}


Here's a description of that reset - http://perishablepress.com/press/2007/10/23/a-killer-collection-of-global-css-reset-styles/

nicky
10-30-2009, 04:31 AM
Thanks guys!

culspracli
10-30-2009, 04:49 AM
thanks, pro

__________________

Organisme de credit immobilier maison de credit en ligne | (http://organismedecredit.org/)Organisme de credit a la consommation rachat | (http://organismedecredit.org/)organisme de credit en ligne (http://organismedecredit.org/organisme-de-credit/)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum