How can I correctly insert you an SVG image in Dreamweaver CC HTML5 page

HI people,

I'm working on my first site sensitive design. Pretty easy so far, but I'm having a hard time to understand how to insert the SVG in a HTML5 page (Bootstrap and XML).

This is the code I use to insert the SVG that I created and exported in Illustrator.

< div class = "making the scale svg container" >

< a href = "index.html" >

< svg viewBox = "0 0 60 55" class = "making the scale svg" preserveAspectRatio = "xMidYMin" >
< img src = "images/logo - v3.svg" alt = "tag alt here" / >
< / svg >

< /a >

< / div >

And it's the CSS

. Scaling-svg-container {position: relative;} Height: 0; width: 100%; padding: 0; padding-bottom: 100%; {/ * substitute this line other than the square format of * /} .scaling-svg {position: absolute; height: 100%; width: 100%; left: 0; top: 0 ;}}

Everything works except I get the following error when I run the HTML validator in Dreamweaver CC. It seems to be this line < img src = "images/logo - v3.svg" alt = "tag alt here" / >

Screen Shot 2016-04-29 at 9.35.35 AM.png

I spent hours looking for documentation on this in the Adobe site and elsewhere. What I've read the SVG doesn't scale correctly unless it is in the viewBox.

I don't get the error of Validation of Dreamweaver CC if I leave a 'simple' insert/image in Dreamweaver CC, but you do not get the viewBox, which of course helps you control the image.

Thanks for the help,

Sylvia

You use the tag incorrectly.

The tag is for form SVG tags (, , , etc.) not the tag, that's why you get this error.

If you want to use an svg image you made in artificial intelligence, use the one tag with the .svg source.

You can then control with css normally.

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • iTunesMatch

    I want to close my account iTunesMatch. Best regards Terje Norheim

  • All deleted iMessages

    So I woke up one morning and I've been texting my friends. I left on a conversation and entered another, and I realized that the whole conversation was gone except for a single message. I went in another conversation and another and realized that all

  • Satellite U400-150 - always needed, even to start supervisor password

    Satellite U400-150 /PSU45E, the cooler BIOS v4.0, just been flashed (23/07/2009). Well, I have a problem with the password at startup. I need to password, which should be _only_ required to enter the "BIOS". When I set the supervisor password (user i

  • East - the Pavilion 20 it be upgraded to the 5 GHz wireless card?

    The HP Pavilion 20 can be improved to support the 5 GHz wireless card?

  • Facial recognition stop working?

    The screen for the postage of size photos, where you can mark and or determine if the program has identified correctly, stop working.  What should I do to get it working again?  Please someone help me!