How about something like: dl::sets(start-tag[, end-tag]) { color:red; } In your case, you would not need end-tag. A new set would be created every time the start-tag is encountered: dl::sets(dt) { ... } Would create the ::pseudo elements you outlined. > <dl> > <::pseudo> > <dt>...</dt> > <dd>...</dd> > </::pseudo> > <::pseudo> > <dt>...</dt> > <dd>...</dd> > </::pseudo> > <::pseudo> > <dt>...</dt> > <dd>...</dd> > </::pseudo> > </dl> One useful extension would be to allocate a set of tags as set start points: dl::sets("h1,h2,h3") { ... } More parameters could be added to provide more flexibility. Just a thought. Ben (q) Ben Godfrey? (a) Web Developer and Designer See http://aftnn.org/ for detailsReceived on Thursday, 30 October 2003 14:36:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:24 GMT