Web Design Forum: Footer layout - whitespace under footer - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Footer layout - whitespace under footer

#1 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 12:15 PM

Hi, hopefully a simple footer issue that someone can help me on.

I have a footer that also has a footheader which is a shadow effect that sits above the footer, when I remove this footheader I get white space under the footer, how do I prevent the whitespace?

I have tried altering the .push but does not make any difference.

css code below;

.push    {              
	height: 328px;
	clear: both;
}

#footer    {           
    height:250px;
	background:#000;
	
   		
}
#footerline  {
    height:15px;
    background: gray;
    
}
#footerlinetxt {
    width:940px;
	margin: 0 auto;
}
#footerlinetxt p {
    font:arial;
	font-size:10px;
	text-align:left;
	margin-left:10px;
	color:#ffffff;
}
#footerheader {
	height: 78px;
	background-image: url(../images/footer-shadow.jpg);
	background-repeat: repeat-x;
	clear:both;
	
	
}



Thanks in advance

This post has been edited by jay76: 06 February 2012 - 01:45 PM

0

#2 User is offline   hodephdesign 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 18-January 12
  • Reputation: 10
  • Gender:Male
  • Location:Cardiff, Wales
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 06 February 2012 - 12:16 PM

Any chance of a link/screenshot?
0

#3 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 12:24 PM

yeh will just sort that for you, thanks
0

#4 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 12:40 PM

Sent you an email / pm
0

#5 User is offline   Glowbridge 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 616
  • Joined: 15-July 11
  • Reputation: 99
  • Gender:Male
  • Location:Scotland
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 06 February 2012 - 12:44 PM

Just going off what I have in my head from your description ;

#footer { height: 250px; background: #000; position: relative; bottom: 0px; }

0

#6 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 12:44 PM

Hi Glowbridge, I will give that a try mate... thanks
0

#7 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 12:49 PM

Glowbridge,

made no difference mate
0

#8 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 01:05 PM

Glowbridge, could I send you a link to the page?
0

#9 User is offline   hodephdesign 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 18-January 12
  • Reputation: 10
  • Gender:Male
  • Location:Cardiff, Wales
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 06 February 2012 - 01:13 PM

Well as it's not fixed in position at the moment it's just floating halfway up the page...
0

#10 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 01:16 PM

ok, what is the best way of fixing it in place? thanks

... also I was messing with the css so could of been myself that made it go up the page.

removing the footheader causes the footer to be bigger the 250px marked up in the css?

This post has been edited by jay76: 06 February 2012 - 01:19 PM

0

#11 User is online   4colourprogress 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 249
  • Joined: 02-December 11
  • Reputation: 18
  • Gender:Male
  • Experience:Beginner
  • Area of Expertise:Web Designer

Posted 06 February 2012 - 01:20 PM

http://www.cssstickyfooter.com/

This post has been edited by 4colourprogress: 06 February 2012 - 01:20 PM

0

#12 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 01:31 PM

seems like it will just be easier to leave the footheader image on the page as this keeps everything as it should be and the footer fixed to the bottom of the page, just things dont work when removing it!
0

#13 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 02:02 PM

I tried that stickyfooter, did not work. The issue is the footer height once removing the footerheader image above the footer.

This post has been edited by jay76: 06 February 2012 - 02:07 PM

0

#14 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 09:34 PM

image of the white space below the footer

Attached File(s)


0

#15 User is offline   jay76 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 14-June 10
  • Reputation: 3

Posted 06 February 2012 - 11:11 PM

sorted this (I think) by adding padding-bottom: to the content div which has stopped the white space under the footer now
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users