Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Sharing a Website Find a Domain

mohammed mayat
mohammed mayat
4,228 Points

my profile picture

my profile pic is rotated so top of my head is on the left hand side and my chin is on the right hand side, instead of top and bottom, i try rotating in paint but it has not worked

code <img src="../threeColumnLayout/img//pic_passport.JPG" alt="Photograph of Mohammed Mayat" class="profile-pic">

css

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

Hey there mohammed !,

There is 2 ways to solve your problem.

1st Way:

maybe you took the picture in wrong position or you you've rotated the picture

2nd way:

This can be solved with math there's new proprety in css it's called "transform" and you can assign the value as "transform:deg(and make it 90 degrees or any degree value)" Note:the maximum is from 0 degrees and 360 degrees. Hope this helps.