W3C home > Mailing lists > Public > www-svg@w3.org > October 2001

Re: embed svg in html

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Fri, 12 Oct 2001 16:06:47 +0200
Message-ID: <3BC6F8F7.9020809@pinkjuice.com>
To: www-svg@w3.org
ronan@roasp.com wrote:

 > Embed does work on IE 5.5 and NS 4.7 for sure

Read again; that's what I said.

 > Did not work on 4.7 when I used that.

This

http://www.pinkjuice.com/temp/SVG/embed.xhtml

didn't work with your NN4.7?

I works in my 4.73 on WinMe.

What's you OS and exact NN version? What was the result of entering the 
URL? (viewing locally may be problematic, since the MIMEtype is missing 
then)

 > See http://roasp.com/svg/index2.html which I have tested using both.

No problem with that.

But I was talking about valid XML documents.

 > Here is the embed tag used in that page:
 >
 >  <EMBED SRC="images/header.svg"
 > 		NAME="SVG1" width="760" height="100"
 > 		TYPE="image/svg-xml"
 > 		PLUGINSPAGE="http://www.adobe.com/svg/viewer/install/">


All atrribute and element names in XHTML are lowercase; all valid XHTML 
documents have an XML prolog and a doctype declaration; all all tags are 
closed (by itself, or by a closing tag); ...

Tobi


 > ?
 > ?Michael Bierman wrote:
 > ?
 > ?> While the Object tag is the more standards compliant approach, not all
 > ?> browsers support it correctly. Therefore, I generally recommend using
 > ?> the embed tags. You will have fewer problems with embed than Object at
 > ?> this point in time.
 > ?
 > ?
 > ?Yep.
 > ?
 > ?Embed is no HTML/XHTML element;
 > ?object works in NN6.1, but not in IE5.5 and NN4.7.
 > ?
 > ?If you need/want to author valid XML compliant files, and need/want to
 > ?cater older buggy browsers, check the source of
 > ?
 > ?http://www.pinkjuice.com/temp/SVG/embed.xhtml
 > ?
 > ?for an example of how to.
 > ?
 > ?Tobi


-- 
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml

go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
http://www.pinkjuice.com/ruby/
Received on Friday, 12 October 2001 10:08:54 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT