Posted by Jim Higson on 11/19/72 11:34
Leif K-Brooks wrote:
> Jim Higson wrote:
>> I say not ready because there doesn't seem to be any simple way to scale
>> an SVG image using CSS yet. Setting the size of the Object is easy, but
>> the image inside it just stays the same. When/if the img tag supports SVG
>> this should be trivial.
>
> If you use namespaces to embed the SVG document in an XHTML document
> directly, you should be able to scale it with CSS. Or you could use
> <object> and apply the stylesheet to the SVG document instead of to the
> HTML document it's embedded in.
This sounds cool. I've tried a few things like this and found none to
work... could you give an example?
Navigation:
[Reply to this message]
|