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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![kevinardo](https://uploads.teamtreehouse.com/production/profile-photos/90765/micro_cinema-glasses-flat-icon-01-.jpg)
kevinardo
Treehouse Project ReviewerHow to make a website.
There is a problem with the profile photo in the firefox browser. It's somehow related to setting display:block, it just doesn't want to show up,. As soon as you remove the property it appears again, but as a result it cannot be centered.
When adding float:left in the min-width: 480px media querie it appears again but still dont want to show up when you resize below 480...
I tried with the final project files (Nick's portfolio) and it's the same result... I'm using the latest Firefox (27.01).
Thanks for a great course Nick and i hope we can solve this issue :)
6 Answers
![Lori Brandimarte](https://secure.gravatar.com/avatar/117ea8e3d2b7ad5f0eec9a022adf069f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Lori Brandimarte
10,848 PointsI am having the same issue. I check the link to Casey's post but neither of the suggestions worked. The only thing that works is to remove the display: block; line but that makes the image appear clear over on the left of the page. With the display: block; line there the page renders it as if there is nothing there.
![Jacob Miller](https://uploads.teamtreehouse.com/production/profile-photos/134489/micro_avatar-2.jpg)
Jacob Miller
12,466 PointsDid you remove the float: left
on the header? Make sure the header is a block
element also.
![Lori Brandimarte](https://secure.gravatar.com/avatar/117ea8e3d2b7ad5f0eec9a022adf069f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Lori Brandimarte
10,848 PointsAh ha! I made the header a block element and ta da!
Thanks Jacob =)
![kevinardo](https://uploads.teamtreehouse.com/production/profile-photos/90765/micro_cinema-glasses-flat-icon-01-.jpg)
kevinardo
Treehouse Project ReviewerThanks alot Jacob Miller! I took your solution and changed it to include a class to the section .and gave it clear:both to clear the float from the headinghtml
<section class="about>content about me</section>
and gave the about class a `css
clear:both property!
Now it works just fine in Firefox and my pic is centered on mobile :) , thx again,
![Jacob Miller](https://uploads.teamtreehouse.com/production/profile-photos/134489/micro_avatar-2.jpg)
Jacob Miller
12,466 PointsCool! Glad it worked for you guys.
Casey M
2,495 PointsCasey M
2,495 PointsI have the same/a similar problem. Didn't see your question before I posted mine. If you scroll left (as opposed to resizing the window) is your picture showing up next to the navigation? This is driving me nuts!