Re: [WSG] using scalable vector graphics

2005-07-19 Thread Ben Ward
Yes, fallback content can be a normal img / element with a fallback bitmap image, and further fallback alt-text. To make the width dynamic you need to do two things. 1) Your SVG image mustn't declare a fixed width in itself 2) You need to do the sizing with CSS. My preferred way is to place

Re: [WSG] using scalable vector graphics

2005-07-18 Thread dwain
Gary Menzel wrote: Browsers that dont support SVG natively require some type of embed tag. here is what i have. i created an abstract graphic in illustrator and saved it as a svg file. according to adobe one uses the embed src... tag to place the file in a web page. the page sticks in

Re: [WSG] using scalable vector graphics

2005-07-18 Thread Ben Ward
Use the object tag, just like we do with Flash. The SVG mimetype (type atrribute) is image/svg+xml so you'd have something like: object type=image/svg+xml data=image.svg !-- fallback content -- /object You can add width and heigh into that if you need to (though that rather defeats the purpose

Re: [WSG] using scalable vector graphics

2005-07-18 Thread dwain
Ben Ward wrote: Use the object tag, just like we do with Flash. The SVG mimetype (type atrribute) is image/svg+xml so you'd have something like: object type=image/svg+xml data=image.svg !-- fallback content -- /object would the fall back content maybe be a jpg, gif or png of the svg image?

[WSG] using scalable vector graphics

2005-07-17 Thread dwain
i am beginning to experiment with svgs and find them fascinating. the problem i have found with using them is they will not validate because of the embed tag. i'm not sure at this point what to ask or how to ask it, except how to use them so they will validate. your thoughts, resource links

Re: [WSG] using scalable vector graphics

2005-07-17 Thread Joshua Street
On Sun, 2005-07-17 at 22:34 -0500, [EMAIL PROTECTED] wrote: i am beginning to experiment with svgs and find them fascinating. the problem i have found with using them is they will not validate because of the embed tag. i'm not sure at this point what to ask or how to ask it, except how to

Re: [WSG] using scalable vector graphics

2005-07-17 Thread Joshua Street
On Mon, 2005-07-18 at 13:39 +1000, Joshua Street wrote: svg xmlns=http://www.w3.org/2000/svg; version=1.0 rect stroke=black fill=none rx=5px y=16px x=72px width=202px height=61px/ /svg Err, of course, it closed the /svg tag properly... oops. Josh

Re: [WSG] using scalable vector graphics

2005-07-17 Thread Gary Menzel
Browsers that dont support SVG natively require some type of embed tag. On 7/18/05, Joshua Street [EMAIL PROTECTED] wrote: On Mon, 2005-07-18 at 13:39 +1000, Joshua Street wrote: svg xmlns= http://www.w3.org/2000/svg version=1.0 rect stroke=black fill=none rx=5px y=16px x=72px width=202px