Posted by Jon Slaughter on 06/16/07 06:23
Say I'm giving a hypothetical structure such as(in reality it would be more
complicated with arbitrary nestings)
<div id="PageComments">
<div>
Mike Jones - Subject
<div>
Jone Smoth - Subject2
<div>
Mike Jones - Subject2
</div>
</div>
<div>
Jeff - Subject3
</div>
</div>
<div>
Mike Applehaead - Subject is dead3
</div>
<div>
Cable - Subject is dead5
</div>
</div>
Is there a way to apply a style recursive to it to so that each div is given
the same style? What are the pro's and cons of inlining or using class=?
What I'm afraid of is that if I use some type of css recursion that it might
slow down the browser when it is applying the styles.
Any thoughts?
Thanks,
Jon
Navigation:
[Reply to this message]
|