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 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.