A
Amitabh
We are using VML in one of the web application.
We need a horizontal line of "fixed width" to be displayed on a web
page. The width for that line MUST NOT change if the resolution or/and
the screen monitor width (laptop vs desktop) change. If the width of
the line is 150 mm, it has to be 150 mm on all the different kind of
screens.
We are not able to achieve this with VML.
I have pasted my code below. The length of the line changes with change
in the screen resolution or in the monitor size. I want it to be always
150mm.
sample code:
-----------------------
<HTML xmlns:v="urn:schemas-microsoft-com:vml">
<HEAD>
<TITLE>VML SAMPLE</TITLE>
<STYLE>
v\:* { behavior: url(#default#VML); }
</STYLE>
</HEAD>
<BODY>
<v:line ID="line1" from="0mm,10mm" to="150mm,10mm"
strokecolor="#A52A2A" strokeweight="1.5pt" print="true"/>
</BODY>
</HTML>
We need a horizontal line of "fixed width" to be displayed on a web
page. The width for that line MUST NOT change if the resolution or/and
the screen monitor width (laptop vs desktop) change. If the width of
the line is 150 mm, it has to be 150 mm on all the different kind of
screens.
We are not able to achieve this with VML.
I have pasted my code below. The length of the line changes with change
in the screen resolution or in the monitor size. I want it to be always
150mm.
sample code:
-----------------------
<HTML xmlns:v="urn:schemas-microsoft-com:vml">
<HEAD>
<TITLE>VML SAMPLE</TITLE>
<STYLE>
v\:* { behavior: url(#default#VML); }
</STYLE>
</HEAD>
<BODY>
<v:line ID="line1" from="0mm,10mm" to="150mm,10mm"
strokecolor="#A52A2A" strokeweight="1.5pt" print="true"/>
</BODY>
</HTML>