Background image (3 posts)

  1. leoahrens
    Posted 4 years ago #

    Got a really dumb question...

    What does the code look like for a back ground image such as this sites background...

    The image adjusts size to always fit the exact width of the window. How do I code that?

  2. leoahrens
    Posted 4 years ago #

    Come on, I know this is an easy question. Someones got to help me, please!

  3. ClaytonJames
    Posted 4 years ago #

    The question is very easy. Your answer however, isn't going to be. It's being done with javascript. Here is an old discussion about how it's being done with javascript using the very site you mention as the example.

    Scalable background image with constrained proportions

    And, you can always view the source code in your browser to see what is going on.

Topic Closed

This topic has been closed to new replies.

About this Topic