LouiseMarie - 11:27 am on Feb 11, 2010 (gmt 0)
I'm working on a website that uses a gradient background. Because we are allowing the site to be styled where the client can use a wizard to specify colours and the colour hexcode is added to the code we are using SVG instead of static images.
I tested the svg code on my machine with a html page and it renders fine (in IE using the filter section and in Firefox, safari, chrome and opera using the SVG).
We are building the project in VS2010 and once i added the code to the default.aspx it won't render the SVG however the filter for IE still works. Can some one help please?
Do i need a plugin or need to install something to VS to get the SVG to render on the .aspx page?
default.aspx and hdr.svg are in the same folder in the project:-
<object data="hdr.svg" type="image/svg+xml" width="144" height="34">
<div style="width:144px;height:34px;background-color:#449144;"></div> </object>
thanks in advance