Skip to main content link. Accesskey S

CSS Sprites

The CSS uses sprited graphics to reduce the number of HTTP requests and improve performance. The format of the sprited graphic files is discussed in the Image Format section of the Developer Guide. In version 2.0.0 and 2.0.1, the "lotusSpritesOn" class on the body tag enabled sprites. Beginning with version 2.0.2, sprites are always on and the "lotusSpritesOn" class is deprecated.

Some example markup uses the sprite named "yourProductSprite". This is an example sprite representing an individual product-specific sprite. Each product is creates their own product-specific sprite. When comparing example markup with actual markup in a product, you need to change "yourProductSprite" to whatever name your product uses for their product-specific sprite.

IBM, the IBM logo, ibm.com and Lotus are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.