MyBB Community Forums

Full Version: (Updated Feb/2009) Mybb 1.2x/1.4x Pure CSS "Custom Forum Icons" with only 1 image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
there is no way i can understand this.. No matter how hard i try , You just explained it to complicated i think.
Great tutorial, thank you!
(2009-11-23, 01:19 AM)bdkekos Wrote: [ -> ]Great tutorial, thank you!

Yes, great tutorial but I'd like undestand how I have to rename the image icons...

off_1.png? off 1.png? off_1.gif?

Thanks a lot
(2010-03-13, 12:54 AM)gokufg Wrote: [ -> ]
(2009-11-23, 01:19 AM)bdkekos Wrote: [ -> ]Great tutorial, thank you!

Yes, great tutorial but I'd like undestand how I have to rename the image icons...

off_1.png? off 1.png? off_1.gif?

Thanks a lot

No. They share a single image. It´s called "CSS sprites" - google it, it´s well documented all around over webdesign blogs.

/* Background position - Build your X coordinate with the top of each custom icon here */
#on_2 a, #off_2 a {
 background-position: 0 0;
}

#on_3 a, #off_3 a {
 background-position: 0 -75px;
}
Pages: 1 2