+ 1

SVG

Does anyone know why the second rectangle is not shown? <svg width="2500" height="2500"> <rect x="100" y="200" width="50" height="50" fill="orange" /> <rect x="150" y="200" width="50" heigth="50" fill="black" /> <rect x="200" y="200" width="50" height="50" fill="green" /> <rect x="250" y="200" width="50" height="50" fill="blue" /> </svg> i see no difference in those lines Thanks ;-)

21st May 2019, 9:12 PM
Leonardo
Leonardo - avatar
3 Respuestas
+ 2
First code heigth = "50" Second code height = "50"
21st May 2019, 10:52 PM
Diego
Diego - avatar
+ 1
It's time to rest ☺
21st May 2019, 10:58 PM
Solo
Solo - avatar
0
I jut typed the whole of the black rectangle new and now it works. I have no idea why. or does anyone see a difference? <svg width="2500" height="2500"> <rect x="100" y="200" width="50" height="50" fill="orange" /> <rect x="150" y="200" width="50" height="50" fill="black" /> <rect x="200" y="200" width="50" height="50" fill="green" /> <rect x="250" y="200" width="50" height="50" fill="blue" /> <rect x="300" y="200" width="50" height="50" fill="yellow" /> </svg>
21st May 2019, 9:16 PM
Leonardo
Leonardo - avatar