The absolute Position Style
You can also position shapes in absolute terms. When you set the position style property to absolute, the shape is positioned with respect to the upper-left corner of its container. You can use the top and left style properties to position the top left of the shape with regard to the container's origin.
Here's an example. In this case, I'll position a VML shape 100 points from the top and left of the shape's container, which is the browser's display area:
Listing . ch19_11.html
<HTML xmlns:v="urn:schemas-microsoft-com:vml">
<HEAD>
<TITLE>
Using Vector Markup Language
</TITLE>
<STYLE>
v\:* {behavior: url(#default#VML);}
</STYLE>
</HEAD>
<BODY>
<CENTER>
<H1>
VML Absolute Positioning
</H1>
Here is the rectangle:
<v:rect ... |
Get Real World XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.