please change viewbox to viewBox this work in IE and not work in gecko I wait any subjection.
--- In svg-developers@yahoogroups.com, "kouejou" <[EMAIL PROTECTED]> wrote: > thanks it works correctly > > --- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]> > wrote: > > kouejou schrieb: > > > > > <?xml version="1.0" ?> > > > <svg xmlns="http://www.w3.org/2000/svg" width="500px" > height="600px" > > > > > > > <g> > > > > > > <defs> > > > <linearGradient id="grad1" x1="0" y1="0" x2="400" y2="400"> > > > > per default, coordinates for x1,y1,x2 and y2 are fractions of the > > bounding box of the shape that uses the gradient. deer park does > not > > render the gradient, because its too big(400 times larger than > your > > shapes). so you can either do > > <linearGradient id="grad1" x1="0" y1="0" x2="1" y2="1"> > > > > or set a value for gradientUnits, like this > > <linearGradient id="grad1" x1="0" y1="0" x2="400" y2="400" > > gradientUnits="userSpaceOnUse"> > > > > hth > > Holger > > > > > <stop offset="0%" style="stop-color:#FF0000"/> > > > <stop offset="25%" style="stop-color:#0000FF"/> > > > <stop offset="50%" style="stop-color:#00FF00"/> > > > <stop offset="75%" style="stop-color:#0000FF"/> > > > <stop offset="100%" style="stop-color:#FF0000"/> > > > </linearGradient> > > > </defs> > > > > > > <text x="5" y="20" style="font-size:22">SVG Demo: Linear > > > gradients</text> > > > > > > <path style="fill:url(#grad1)" d="M0 50 h200 v200 h-200 z"/> > > > > > > <circle style="fill:url(#grad1)" cx="320" cy="150" > r="100" /> > > > > > > <polygon style="fill:url(#grad1)" > > > points="0,400,200,400,100,280" /> > > > > > > <ellipse style="fill:url(#grad1)" cx="300" cy="350" rx="100" > > > ry="75"/> > > > > > > <rect style="fill:url(#grad1)" x="0" y="450" width="400" > > > height="100" /> > > > > > > </g> > > > </svg> > > > > > > > > > this file is not work with gecko dear park > > > please I wait any subjection for use the url into fill. > > > > > > thanks ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h2l9212/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123157268/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> ----- 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/