![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
SVG is nice and all, and browsers are already supporting it. What does that mean to me, though? What am I supposed to use SVG for? |
|
Should I be using SVG for layout images? Are they larger than JPGs or the other obvious alternatives in file size? |
#3
| |||
| |||
|
|
SVG is nice and all, and browsers are already supporting it. What does that mean to me, though? What am I supposed to use SVG for? |
|
The only way I could use it for content relevance is if I drew diagrams of what I was talking about, but I don't see to be very common. |
|
Should I be using SVG for layout images? Are they larger than JPGs or the other obvious alternatives in file size? |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |