Frame Border Example (VML)


Purpose

This example illustrates how to use the Stroke child element to control the appearance of a VML shape.

Example


Code

<!-- Include the VML behavior -->
<style>v\: * { behavior:url(#default#VML); display:inline-block }</style>

<!-- Declare the VML namespace -->
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" />

<v:roundrect style="width:120pt;height:80pt;" strokecolor="red" strokeweight="15pt">
  <v:stroke filltype="frame" src="image2.gif" />
</v:roundrect>