Results 1 to 2 of 2

Thread: Moving footer image to the bottom

  1. #1
    Join Date
    Oct 2007
    Posts
    103

    Moving footer image to the bottom

    Hi

    See robofight.com/test/

    1-how can I move the footer image to the bottom?

    2- how can I increase the height of the whole website?

    3- how can I make the header section (that contains the logo) shorther in height?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    1. A commonly used "sticky footer" tutorial is here:-
    http://www.cssstickyfooter.com/

    2. The height of your page will either be determined by the height required for the content (it may be slightly different for different browsers) or you put the whole content inside a wrapper div which has a height.

    3. Your #header div has a height of 226px
    Code:
    #header{
    	background-image: url(images/logo.png);
    	height: 226px;
    	width: 777px;
    	left: 0px;
    	top: 0px;
    }
    The height of logo.png is 196px so you could edit the #header height to 196px for a start. If you decrease the #header height to less than 196px the logo background image will start to get cut off at the bottom, but you have scope to allow that.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. JS Navigation Moving My Footer
    By tflavin in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 12 Apr 2010, 05:22 PM
  2. Footer Sticking to Bottom of Page
    By samlancashire in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 18 Feb 2010, 03:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •