David,

I can't seem to fix this...

I am using viewbox so that the svg scales well under user control.

however once I set the height in em, mozilla displaces the image  
relative to opera.
stating padding and margins doesn't help.

thoughts please.

Jonathan Chetwynd

this reduced code example should now cover the issue.

index.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// 
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
<head>
<title>viewbox test</title>
<style type="text/css">

object, embed, img {height: 3.5em;}

</style>
</head>

<body>

<div class="links">

<object type="image/svg+xml" data="circle.svg"> <embed  
src="circle.svg"> <noembed> <img src="img/peepo-co-uk.gif" alt="" />  
</noembed> </embed> </object><br />Peepo</a></div>

</body>

</html>

circle.svg:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"    "http:// 
www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg";>
<title>Circle</title>
<desc>SVG Tag for drawing a red circle</desc>
<circle cx="25" cy="25" r="20" fill="red"/>
</svg>


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