Shape Position Example (VML)


Purpose

This example demonstrates the relationship of a VML shape with regard to surrounding content. Note that content flow and positioning also depends on the overall document structure and style.

Example

Beginning of the shape: End.

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" />

Beginning of the shape:
<v:oval style="width:80pt;height:90pt" fillcolor="red" />
End.