HTML tags optimization [ interesting problem]

DENG polytechnique at gmail.com
Fri Sep 2 09:16:23 EDT 2005


hi, Sybren,

thanks for your reply, if use CSS:

<span class=type1>text<span class=type2>text</span></span><span
class=type1>text</span>

optimise to:

<span class=type1>text<span class=type2>text</span>text</span>

what i need is the METHOD to do optimization, in fact, i have ready
write a program to analyse the syntax of CSS, to make it works with all
situation




More information about the Python-list mailing list