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 trial

HTML How to Make a Website Styling Web Pages and Navigation Polish the Navigation and Footer

Rodrigo Teixeira
Rodrigo Teixeira
1,417 Points

[SOLVED]Why is the default display of both twitter and facebook logo is inline?

I noticed that social media logos are displayed side by side. However, if I'm not mistaken, images are block level elements. I don't remember any code line that set the images to be displayed side by side. Futhermore, the gallery images, before adding the float property, were displayed as block elements, one on top of the other. Can someone explain to me why it looks that way? Thank you.

1 Answer

Jack Smith
Jack Smith
6,902 Points

Could you please provide your code.

Rodrigo Teixeira
Rodrigo Teixeira
1,417 Points

Hey man, on the following video it was told that images are inline elements as default. So now I understand why they were displayed side by side. Thank you anyway for the availability.