Drake, Ted C. said: > There was a recent spat of posts about using variables in CSS.[snip] > Ouch, my 4 rule css file now grows to 54,056 lines of rules re-writing > the #f60 code. Wouldn't it be lovely if I just had > {selectedlink} : #ffcfcf ?
There's no point using a slegehammer to drive in a tack. I usually just use a regex: s/#f60/#ffcfcf/g Any decent editor should handle that in one form or the other. kind regards Terrence Wood. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************