[EMAIL PROTECTED] wrote:
Nick Fitzsimons wrote:
[EMAIL PROTECTED] wrote:
i repurposed the svg. firefox still doesn't get it but opera 9.01
renders it correctly. is there something i am missing?
dwain
Looking at it in the Firefox DOM Inspector shows it as having width
and height of 2.82222E+06, which is almost 3 million pixels square.
This is specified at the start of your SVG in the width and height
attributes:
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
width="2.82222E+006px" height="2.82222E+006px"
style="shape-rendering:geometricPrecision;
text-rendering:geometricPrecision; image-rendering:optimizeQuality;
fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 2.82222e+006 2.11667e+006"
xmlns:xlink="http://www.w3.org/1999/xlink">
i'm using the latest version. when i converted the file to svg it was
supposed to be, if i remember correctly 800px x 800px. i used corel
draw 13 for the conversion. mozilla.13 and ie6 render the file sans the
z-index. since my math skills aren't real sharp, what would be the
appropriate numbers to make the file a 1024x768? and why or how did the
conversion get that far out of kilter?
dwain
Disclaimer: I'm no expert on SVG :-)
Open the SVG file up in your usual text editor (it's just XML) and
change the "width", "height" and "viewBox" attributes of the <svg>
element to "1024", "768" and "0 0 768 1024" respectively, like this:
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
width="1024" height="768"
style="shape-rendering:geometricPrecision;
text-rendering:geometricPrecision; image-rendering:optimizeQuality;
fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 768 1024"
xmlns:xlink="http://www.w3.org/1999/xlink">
and see how that does.
As to why it was so weirdly enlarged, I really don't know. It could be
something to do with pixel density or some related setting in Corel
Draw; not having used that software since about 1994, I'm unable to help
with that one :-)
Cheers,
Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************