html5 - Illustrator exported .svg files won't render in HTML -
i not sure if coincidence, seems if export svg files illustrator or try use svg files find on web exported illustrator, don't render.
i using code below, maybe in-depth knowledge of svg , html can tell me might wrong svg file?
<!doctype html> <html lang="en"> <style> html { background-image: url(https://dl.dropboxusercontent.com/u/7146901/svgbkgnd%5b1%5d.svg); background-size: contain; height: 100%; } </style> <head>......</head> </html>
i have tried code above , replaced link different svg file , works, guess wrong svg file specifically?
it works expected. see http://jsfiddle.net/pa8zn/show here i've included svg on html element:
html { background: url(https://dl.dropboxusercontent.com/u/7146901/svgbkgnd%5b1%5d.svg) no-repeat;
}
the svg heavy file, takes quite while show up. try cleaning improve performance. either hand or tool scour: http://codedread.com/scour/
Comments
Post a Comment