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

Christopher Alacran
Christopher Alacran
1,010 Points

Why is the picture going to the right of the header and navigation section? It is only doing this on firefox.

I am working on the Style New Pages section of the Adding Pages to a Website portion of the Web Design track and I am running into a problem.

After I apply the styling to the style sheet for the About page of the web page:

/************************************* PAGE: ABOUT **************************************/

.profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

the picture goes to the right of the navigation and header. The picture I am using is 509px X 509px and is .jpg. I am using Firefox and I tried to do it on Safari and it doesn't do it in other browsers. Is there another way to do this for Firefox?

2 Answers

John Anderson
John Anderson
1,916 Points

Listed below the video in the description is a notice about the change necessary to make the statement work in Firefox .