Hi Holger,

I have another problem: I don't know the size of my svg before I paint
it. So I cannot put a width and a height attribute to my svg tag. But
without these attributes it doesn't work in the html sample.

Do you have a solution?

Thanks
tam

--- In [email protected], "tamsvg" <[EMAIL PROTECTED]>
wrote:
> 
> Hi Holger,
> 
> so I have the Adobe SVG Viewer 6 for Mozilla firefox. It can display
> svg files. But why do I need the Mozilla SVG implementation, too?
> 
> tam
> 
> 
> --- In [email protected], Holger Will <[EMAIL PROTECTED]> wrote:
> > tamsvg wrote:
> > 
> > >
> > > Hi again,
> > >
> > > Now I've tried my code in the IE and it works. But why doesn't
it work
> > > with Mozilla Firefox?
> > >
> > > tam
> > 
> > hi tam
> > 
> > first of all this part:
> > 
> >     <object id="AdobeSVG"
> > classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
> >     <?import namespace="svg" implementation="#AdobeSVG"?>
> > 
> > is IE specific, you wont need it anywhere but in IE , and it wont
work 
> > anywhere else.
> > 
> > second,just delete the DTD , you dont need that !
> > 
> >     <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
> >     "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd";>
> > 
> > 
> > that leaves you with a document like this:
> > 
> > <html xmlns:svg="http://www.w3.org/2000/svg"; 
> > xmlns="http://www.w3.org/1999/xhtml";>
> >   <head>
> >   </head>
> >   <body>
> >     <h1>SVG direkt in HTML eingebettet</h1>
> >     <hr>
> >     <svg:svg width="300" height="300">
> >       <svg:circle cx="150" cy="150" r="100" style="fill:red">
> >     </svg:svg>
> >     <hr>
> >   </body>
> > </html>
> > 
> > this document is perfectly viewable in
> > - Moz/FF with native SVG support ( 
> http://www.mozilla.org/projects/svg/ )
> >     you can find the latest MOZ here: 
> >
>
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/contrib/latest-trunk/
> >     and the latest FF here: 
> >
>
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/contrib/latest-trunk/
> > - Opera 8.0 beta3   http://www.opera.com/download/
> > 
> > hth
> > Holger





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to