Curve Example (VML)


Purpose

This example shows how to use the Curve element to control 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:curve style="POSITION: absolute" from="0,0" control1="100pt,100pt" 
  control2="200pt,100pt" to="300pt,0" strokecolor="red" strokeweight="3pt" />