Skip to content

Instantly share code, notes, and snippets.

@shortdiv
Last active August 29, 2015 14:05
Show Gist options
  • Save shortdiv/16d16d278bb921d0bf8f to your computer and use it in GitHub Desktop.
Save shortdiv/16d16d278bb921d0bf8f to your computer and use it in GitHub Desktop.
VML
/ =====================================
/ Hero Image
/ =====================================
%table{ height: "400px", align:"center", {{ page.top-level-table}}, {{ page.table-reset }} }
%tr
%td{ bgcolor: "#4D4237", height: "410px", style: "background-image: url('images/example.jpg'); background-repeat: no-repeat; color: {{ page.c-title }}; {{ page.img-typeset }}; padding-top: 20px", valign:"top", align:"center"}
Take a closer look
/ [if gte mso 9]
%v:rect(xmlns:v="urn:schemas-microsoft-com:vml" fill="t" stroke="f" style="width:650px; height:410px")
%v:fill(type="frame" src="images/example.jpg" color="#7bceeb")
%v:shape(id="Take a closer look" style="position:absolute; width:650px; height:410px")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment