It would be convenient if CSS will have 'background-image-frame: "string" ' property. PNG and other image formats support annotated/taged/named sub-images so in principle they can be used as image-lists - single-file collections of multiple images / frames. CSS "sprites" as a workaround are quite popular among Web designers but current solution [1] looks more like a hack rather than a solution. This: #panel1b a { background: url(test-3.jpg) "normal" no-repeat; } #panel1b a:hover { background-image-frame: "hover"; } #panel1b a:active { background-image-frame: "active"; } [1] http://www.alistapart.com/articles/sprites -- Andrew Fedoniouk http://terrainformatica.comReceived on Friday, 8 July 2011 06:52:34 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC