I'm trying to draw 3 colored rectangles in a Visualforce page rerendered ad PDF. (below the code I use inside the VF page). The problem is when the page is render the rectangles are not printed. How can I do that in a page that has to be render as PDF? thank you for help
<div style="height:80% " >
<svg width="10" height="10"><rect x="0" y="0" width="10" height="10" style="fill: #00FF00; stroke: #FFFFFF; stroke-width: 2;" /></svg> Before crash ·
<svg width="10" height="10"><rect x="0" y="0" width="10" height="10" style="fill: #FF0000; stroke: #FFFFFF; stroke-width: 2;" /></svg> Crash ·
<svg width="10" height="10"><rect x="0" y="0" width="10" height="10" style="fill: #FF4500; stroke: #FFFFFF; stroke-width: 2;" /></svg> After crash ·
</div >