Created
September 7, 2012 04:19
-
-
Save justinhillsjohnson/3663095 to your computer and use it in GitHub Desktop.
vml image scale
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTML xmlns:v="urn:schemas-microsoft-com:vml"> | |
<HEAD> | |
<STYLE> | |
v\:* { behavior: url(#default#VML); display:inline-block} | |
</STYLE> | |
<TITLE>VML Sample</TITLE> | |
</HEAD> | |
<BODY> | |
<DIV id="MyDiv"></DIV> | |
<SCRIPT LANGUAGE="VBScript"> | |
<!-- | |
Set MyRect = Document.CreateElement("v:image") | |
Set R = MyDiv.AppendChild(MyRect) | |
R.Style.Width = "100%" | |
R.Src = "http://jenkov.com/images/layout/top-bar-logo.png" | |
</SCRIPT> | |
</BODY> | |
</HTML> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment