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 Adding Pages to a Website Style New Pages

Carl Prude
PLUS
Carl Prude
Courses Plus Student 1,627 Points

Had to do "clear: both;" on .profile-picture to get image to show up under header in Firefox. Why? Chrome worked w/o.

Followed instructions in video and it worked in Chrome, however Firefox had my image (profile-picture) lining up on the side of my header. Had to input clear: both; in order for it to display correctly inf Firefox. Anyone know why?

1 Answer

Carl Prude
PLUS
Carl Prude
Courses Plus Student 1,627 Points

Ha! Just realized this note was already in the class notes. Cool to see i figured out the answer without actually knowing the answer:

Correction for Firefox

There's a bug in the CSS for this video that causes the profile picture to display incorrectly in Firefox. In order to correct the issue, the clear property with the value both needs to be applied to the .profile-photo class. Here's what the corrected code looks like: