Is it possible to embed one VML in another?
For instance:
<v:roundrect style="display:block;width:100px;height:100px;" fillcolor="#eee">
Hi
<v:roundrect style="display:block;width:50px;height:50px;" fillcolor="#c00">
Hey
</v:roundrect>
</v:roundrect>
I cannot see the background of the inner roundrect when I use this markup.
Any ideas?
No VML forms can be nested within each other. You need to arrange them so that they overlap correctly.
<div style="position:relative;">
<v:roundrect style="display:block;width:100px;height:100px;" fillcolor="#eee">
Hi
</v:roundrect>
<v:roundrect style="display:block;width:50px;height:50px; top: 25px; left:25px; position:absolute;" fillcolor="#c00">
Hey
</v:roundrect>
</div>