Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAndrea Sorrell
Courses Plus Student 2,288 PointsFlexible images: Vector Graphics
My question pertains to the SVG files. In particular the social media icons images in the "Smells like Bakin" website. After I "saved as" .SVG in Adobe Illustrator and followed the deletion of the height and width and my icons were huge.
When I looked at the icons SVG file in the downloaded project files the height and width was not deleted as directed in the "Responsive Design:Flexible Images Part One: Vector Graphics" video at: 3:52.
When I looked at my untouched SVG file vs the downloaded SVG file they differed between the areas of <!DOCTYPE>
and the <path fill />
sections when displayed in the text editor.</p>
My facebook SVG file ```<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="46px" height="46px" viewBox="0 0 46 46" enable-background="new 0 0 46 46" xml:space="preserve">
Treehouse facebook SVG file
``` <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
]>
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x="0px" y="0px" width="46px" height="46px" viewBox="-0.431 -0.45 46 46"
overflow="visible" enable-background="new -0.431 -0.45 46 46" xml:space="preserve">
<defs>
</defs>
Where does the problem occur? I am using Adobe CS6 for MAC. If I leave the files untouched they are okay when I test in chrome browser. But I figured there needs to be a standard to follow. Please advise of any issues that I need to be aware of if my files are left as is.
Thank you