Yeah, without digging into the complexity of the applied CSS that markup seems a little heavy handed. Of course the original code may have been tested in a greater range of quirky browsers than you have at hand :)
I presume the class of the outer-most div in your example structure is supposed to be "cbb original_class"? Also to clarify, does this mean the original_class does not include the class "cbb" when reproduced in the inner "i3" div? Or to ask a related question is "original_class" presumed to be a single class name, i.e. without any spaces? On Apr 15, 9:02 am, "DaveG" <[EMAIL PROTECTED]> wrote: > Here's what the original code does: transforms all DIVs with the class > "cbb" into this structure: > div class="cb original_class" > div class="bt" > div class="i1" > div class="i3" > div id=original class="i3 original_class" > div class="bb" > > I'm confused as to why the original copies the original DIV classes to > the outer "cb" class. What's the best way to change my version to do this, > if necessary?