1 CSS Sprites forumotion Sat Jan 07, 2012 8:50 pm
schiggyswelt
Registered Member
Hello, how can I make CSS Sprites for my Navigation?
The Tutorial hasn't halp me..
I had a Text Navigation with little Icons.
This are my Sprite: http://img4.fotos-hochladen.net/uploads/bildj1eio29kfw.png
And this are my Code:
But it's doesn't work..
Please help me!
The Tutorial hasn't halp me..
I had a Text Navigation with little Icons.
This are my Sprite: http://img4.fotos-hochladen.net/uploads/bildj1eio29kfw.png
And this are my Code:
- Code:
.sprites{background-image:url(http://img4.fotos-hochladen.net/uploads/bildj1eio29kfw.png);background-color:transparent;background-repeat:no-repeat;}
#i_icon_mini_message{height:10px;width:14px;background-position:0 0;}
#i_icon_mini_gallery{height:14px;width:16px;background-position:-14px 0;}
#i_icon_mini_index{height:12px;width:13px;background-position:-30px 0;}
#i_icon_mini_members{height:14px;width:16px;background-position:-43px 0;}
#i_icon_mini_portal{height:14px;width:14px;background-position:-59px 0;}
#i_icon_mini_register{height:14px;width:16px;background-position:-73px 0;}
#icon_search_gif{height:14px;width:16px;background-position:-89px 0;}
#i_icon_mini_profile{height:14px;width:16px;background-position:-105px 0;}
#i_icon_mini_faq{height:14px;width:16px;background-position:-121px 0;}
#i_icon_mini_new_message{height:14px;width:16px;background-position:-137px 0;}
But it's doesn't work..
Please help me!