Get a free trial // Grow your CSS skills // Land your dream job

make image stick to bottom of browser?

  • # February 19, 2010 at 6:10 am

    hello all
    this is a website im trying to make

    all i want is the gras (png) img file, to stick to the bottom of the browser window
    so when someone makes his window smaller in vertical way, the gras should move over the air img.
    but allways stick to the bottom of the window …

    any help on this would be greatly appreciated

    # February 19, 2010 at 6:38 am

    Right here on this site

    # February 19, 2010 at 8:48 am
    #footer {position: fixed; bottom: 0;}
    # February 19, 2010 at 11:11 am

    i knew about the sticky footer, which is excellent. but i didn’t know about the fixed bottom code.

    good job guys! 8-)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed