Thanks!
double minus and font-size are fixed. Also tried Batik.

http://www.sfu.ca/~jkk/svg/Untitled.svg

Anyone has idea why the image does not align ?
And the tank seems dark in Firefox.

Tony



--- In [email protected], "Andreas Neumann" 

fixing crossbrowser issues 



> http://www.sfu.ca/~jkk/svg/Untitled.svg

the error consoles of the browsers will tell you the problems.

As Bruce pointed out, you have a double minus (--):

Failed attribute on linearGradient element:
gradientTransform="rotate(179.999999 0.5 0.5) scale(1.000000 1)
translate(--0.000000 0)".

Then, if you use CSS classes or the style attribute, you need to
specify units. CSS requests this. Just use "px" or "pt". This
typically applies to the text elements. An alternative would be to
use presentation attributes, they don't require the units.

Also, it is a good idea to use Apache Batik for testing. Its probably
the strictest one, but most of the time issues the best error
messages. It can also check the XML against the DTD and features a JS
debugger.

It is true, that some browsers don't implement the whole standard and
some have performance problems, but the overlap of implemented
features is certainly good enough for most applications (>80%, I'd
say of the existing SVG content, can run cross-browser, if the
authors are carefully checking their content.)

It is a pity that ASV was not strict enough when checking SVG syntax.
It was too tolerant. This is now a major source of frustration for
many SVG developers who only tested with ASV, but its fixable with a
reasonable investment of time.

Andreas



-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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