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 trialOlga Trofimova
2,309 PointsWhy add icons as a background image
In this video we added icons to the contact fields as a background image. Why don't just add an <img> element inside each <li> item and float it by <p> element with appropriate contact information?
2 Answers
George Cristian Manea
30,787 PointsYou could do that but that means you will have another html element to worry about. You could encounter some small problems of alignment when you test your website on a smartphone or tablet or even an older browser like Internet explorer 8 ,7,6 etc.
Olga Trofimova
2,309 Pointsmakes sense. Thanks!