in reply to Re^2: Pixel length of strings
in thread Pixel length of strings

Scalable Vector Graphics (SVG) is a standard for including vector graphics (drawings) into a HTML page.

HTML itself does not (and can not) guarantee how your page is rendered, for it is a device independent format. You can't be sure even that your page is rendered as text (braille browsers, voice synthesis, etc.)

So pure HTML is not the right choice for a fixed format output; on the other hand, SVG is a format for specifying graphics and compliant browsers (most if not all modern browsers) try to render it exactly as you specified.

Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

Replies are listed 'Best First'.
Re^4: Pixel length of strings
by LanX (Saint) on Jul 11, 2009 at 23:39 UTC
    > and compliant browsers (most if not all modern browsers) try to render it exactly as you specified.

    Unfortunately Internet Explorer does not currently (as of IE 7.0) support SVG natively, (but third-party plug-ins are available such as Adobe SVG Viewer)

    Cheers Rolf