RE: SVG Plugin from Adobe (sizing, flowing, and mixed media)

Kynn wrote:
> Now here's a dumb question for you -- can you set the size of a
> image, plugin, or applet in _ems_?  And if you do, and you change
> your font size, will those "viewports" resize themselves magically?
>
> I admit I haven't ever tested this, nor even thought about it,
> really.  Maybe it's a dumb idea, or maybe it's a cool idea.  I
> don't know.  If it works, it might be a technique for SVG and
> other scalable graphics formats.
 
I though this was a cool idea -- so much so that I experimented with it some
a couple weeks ago!
I though this would be a "poor mans solution" for scaling bit maps as well
as SVG. Unfortunately, it doesn't work!  Various recent flavors of IE and
Navigator get very confused.  The code doesn't validated either.  I then
looked up the 4.01 HTML specs, and the two choices for sizing things where
this technique would be valuable (tables, images, objects) are percentages
and pixels.  That's it.  Using percentages does allow images (SVG or GIF or
JPEG or PNG) to scale, but this only works one changes window size.  (So, in
effect, this technique allows one to shrink images, but not to grow them!)
This experiment was with width="xx%".  Trying various options for
height="xx%" only seemed to confuse the browsers.
 
Now, can anyone tell me if XHTML is so limited?

-- Bruce

Received on Thursday, 4 January 2001 08:18:07 UTC