Is it possible to output sprites containing both class and id selectors?
I'm generating sprites for an existing web page which contains both class and id CSS. When I export from FW, the Export Options give me the choice of class or id, which makes me think I'm going to have to maintain two or more FW files. Is that right? Is there a way I can force FW CS6 to generate a single sprite file containing both class and id selectors?
To make this work, there'd need to be a way to designate ‘class versus id’ for each individual slice; however, writing the selectors for class(.) or id(#) into the slice names themselves seems to be overridden upon export.
I can think of two possible strategies:
The second strategy will result in two different sprite sheets but would allow you to work within a single FW document, if that's a benefit.
Thanks, that pretty well confirms what I'd thought, and I have been hacking the css (luckily my selector names made that easy). Like you suggest, I expected to have been able to add the selectors to the slices and was disappointed that didn't work.