Hallo.
Versuche mich gerade ein wenig an svg. Seit 5 Minuten und habe bereits das erste Problem ![]()
Auf der Seite http://svg.tutorial.aptico.de/3.3.php? das erste Beispiel ist mir durchaus klar. Dann wollte ich aber noch ein weiteres Rechteck anzeigen lassen.
Ich dachte mir, dass der Code dann folgendermaßen aussehen muss:
XML
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="0" y="0" width="200" height="200" style="fill:red;" />
<svg x="10" y="10" width="100" height="100">
<rect x="0" y="0" width="100" height="100" style="fill:blue;" />
<svg x="5" y="5" width="20" height="20">
rect x="0" y="0" width="20" height="20" style="fill:yellow;" />
</svg>
</svg>
</svg>
Alles anzeigen
Allerdings sehe ich dann nur das rote und das blaue Rechteck.
Was mache ich da falsch?
Bye
Any ![]()