Simple RoundRect Example (VML)


Purpose

This example shows how to use the RoundRect element to create a simple 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="height:75pt;width:100pt" arcsize="19661f" 
  coordsize="21600,21600" fillcolor="yellow" strokecolor="red" 
  strokeweight="2pt" />