Question about the Main Menu colors

  • Anonymous

    #1857

    I know the main menu background hover pulls from the image “sprite_h.png”. What is interesting is how you pull the color from only a specific part of that .png graphic file. Apparently, there are a few “calls” to that graphic which will display different areas of the .png file.

    I’ve managed to change the hover color to match the widget colors.

    But I was wondering if you could briefly explain how you “call” just a certain part of a graphic file. Does it have to do with positioning properties on the .css?

    Thanks for any explanation!

    Admin

    Syahir Hakim

    #17384

    The technique is called CSS Sprite. You can read more about it here: http://css-tricks.com/158-css-sprites/

    Anonymous

    #17385

    Perfect! Exactly where I need to begin. Thank you!

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

  • You must be logged in to reply to this topic.