Fri, 17 May 2024


How to create a VML gradient background for a web page?

By: Peter, NetArt Media
Fri, 4 September 2020

Try the following code:

<html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<xml:namespace prefix="v"/>
<style>
v\:* {behavior=url(#default#VML)}
o\:* {behavior:url(#default#VML);}
</style>

</head>
<body>

<v:background fillcolor="#224452">
<v:fill type="gradient"/>
</v:background>

</body>
</html>


Category: Other
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox