- From: Jeff Schiller <codedread@gmail.com>
- Date: Wed, 15 Jul 2009 14:53:00 -0500
- To: Johannes Lichtenberger <Johannes.Lichtenberger@uni-konstanz.de>
- Cc: www-svg@w3.org
Hi Johannes, This is not the place for developer discussions, might I suggest in the future you raise these types of questions at svg-developers group in Yahoo: http://tech.groups.yahoo.com/group/svg-developers/message/ Your second nested SVG element doesn't have a width attribute (you mistyped as 'with') so it is defaulting to 100%. Does this fix your problem? Jeff On Wed, Jul 15, 2009 at 2:35 PM, Johannes Lichtenberger<Johannes.Lichtenberger@uni-konstanz.de> wrote: > Hello, > > I've got the following structure: > > <svg xmlns="http://www.w3.org/2000/svg" > xmlns:svg="http://www.w3.org/2000/svg" width="100%" height="100%" > viewBox="0 0 1024 800"> > <rect x="0" width="700" height="600" > style="fill:rgb(245,245,245);stroke-width:1; stroke:rgb(200,200,200)"/> > <rect x="700" width="200" height="600" > style="fill:rgb(245,245,245);stroke-width:1; stroke:rgb(200,200,200)"/> > <svg xmlns="http://www.w3.org/2000/svg" > xmlns:svg="http://www.w3.org/2000/svg" x="20" y="10" width="680" > height="360" viewBox="0 0 2752.77 1537.63"> > ... > </svg> > <svg xmlns="http://www.w3.org/2000/svg" > xmlns:svg="http://www.w3.org/2000/svg" x="20" y="400" with="190" > height="172" viewBox="0 0 2752.77 1537.63"> > ... > </svg> > </svg> > > The second svg-child of the svg-root element seems to be far too much on > the right side (should be at x="20" just like the first svg child). > > greetings, > Johannes > > >
Received on Wednesday, 15 July 2009 19:53:41 UTC