leoahrens
Member
Posted 2 years ago #
Got a really dumb question...
What does the code look like for a back ground image such as this sites background...
http://www.thenorthface.com/catalog/index.html
The image adjusts size to always fit the exact width of the window. How do I code that?
leoahrens
Member
Posted 2 years ago #
Come on, I know this is an easy question. Someones got to help me, please!
ClaytonJames
Member
Posted 2 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.