Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: footer stay DOWN DAMNIT!

  1. #1
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default footer stay DOWN DAMNIT!

    how can I get an image to stay at the very bottom of a page no matter how big the monitor is or the size of the window it is in?

    edit: damn, sorry, resolved again. two useless topics eh

    solution: position: absolute; and bottom:0;

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try this:
    Code:
    position: relative;
    bottom: 0px;
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    Anexxion (07-24-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    yeah i just did that and went to go edit my topic to put it, then i saved the edit and saw your post, lol thanks anyways

    do you remember me nile :P

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yes I do.
    Jeremy | jfein.net

  6. #5
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    crap, im having another problem, I got the image at the bottom, now I can't center it:

    you can see it here: www.voigrafic.com/gamesite

    Code:
    <html lang="en"><head>
    <title>ResEngine | Revolutionary RTS Game Engine</title>
    <style type="text/css">
    
    body {background: #222 url(http://www.voigrafic.com/gamesite/images/res_bg.gif); margin:0; padding:0; height:250px;}
    
    #gheader {background: #fff url(http://www.voigrafic.com/gamesite/images/gheader.gif) repeat-x top; height:33px;}
    	.leftwing {background: transparent url(http://www.voigrafic.com/gamesite/images/leftwing.png) left; height:98px; width:120px; background-repeat:no-repeat; position:absolute; top:0px; left:0px;}
    	.rightwing {background: transparent url(http://www.voigrafic.com/gamesite/images/rightwing.png) right; height:98px; width:120px; background-repeat:no-repeat; position:absolute; top:0px; right:0px;}
    
    #toppanel {background: transparent url(http://www.voigrafic.com/gamesite/images/toppanel.png) no-repeat top center; width:763px; height:65px; margin:0 auto;}
    #footer {background: transparent url(http://www.voigrafic.com/gamesite/images/footer.png) no-repeat bottom center; width:763px; height:65px; margin:0 auto; bottom:0px; position:absolute;}
    
    </style>
    </head>
    <body>
    	<div id="gheader">
    		<div class="leftwing">&nbsp;</div>
    		<div class="rightwing">&nbsp;</div>
    	</div>
    	
    	<div id="toppanel"></div>
    	<div id="footer"></div>
    </body>
    </html>

  7. #6
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    looks centered to me...
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  8. #7
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by Nyne Lyvez View Post
    looks centered to me...
    Really? What resolution are you viewing at?


    @Annexion...

    That's because you're using absolute positioning. Have a look at this article for the proper way to do what you're trying to do.

  9. #8
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    @medyman: 1280x800
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  10. #9
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    basically this is what im trying to do and im failing

    (each of them are also within a way bigger container with 100% width and 100% height by the way)

    if someone could recode the code I post above then that would be fantastic as this is a problem ive always had


  11. #10
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    anyone?

Bookmarks

Posting Permissions

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