Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
12-13-2007, 09:50 PM #1
- Join Date
- Jun 2002
- Metro Detroit
- Thanked 0 Times in 0 Posts
Background image..One image file with mulitple images?
Okay I am trying learn some web design technique and for the life of me I can't figure out how they are doing this. This website (http://www.adventnet.com/) has this file
as it's background image. But the one .gif file has all the images needed for the site. Where can I find a tutorial to learn this technique. It's kinda cool. I'm thinking advanced CSS has something to do with it."Knowledge Speaks But Wisdom Listens"
12-13-2007, 09:52 PM #2
I'm thinking this has something to do with negative margins, which pull back the background image to display only the part needed
12-14-2007, 02:04 AM #3
you specify a width and a height, then the background-position
or do it all in 1 description:
the -35px moves the image 35 pixels up so you cant see the top 35px.Code:background: url("images/bg_tabs2.gif") no-repeat 100% -35px;
Why not thank me?