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.

CSS

Melissa Melting tallow
Melissa Melting tallow
4,790 Points

https://teamtreehouse.com/workspaces/17887852 My picture won't turn round.

I tried doing all the ways on the help part to fix it. Like both clear thing. Then made height and width the same, then tried pixels instead of percentage for border-radius and nothing worked.

Steven Parker
Steven Parker
220,450 Points

:x: You can't share a direct URL to your workspace, it's temporary and only exists while you are using it.

:information_source: But you can use the snapshot function in the workspace and provide the link to that.

2 Answers

Simon Coates
Simon Coates
28,693 Points

As stated, the image should have an equal width and height. I just looked online and it should just be a matter of having the image, having the css, and having the selectors match. The site i linked to included:

<img class="img-circle" src="kitten.jpg">

and

.img-circle {
    border-radius: 50%;
}

To me, it seems like the most likely way to get this wrong is to not have the selector match the element. YOu can see in the above code the image class matching the selector.

Steven Parker's advice regarding showing people your code is going to improve the quality of assistance you get. The other thing you can do is include code directly, where the code is preceded by three backticks and followed by three backticks. The backtick is a `, you'll probably find it on the key with the ~.

Melissa Melting tallow
Melissa Melting tallow
4,790 Points

Snapshot kept snapping blank screen. but I got my problem fix

Steven Parker
Steven Parker
220,450 Points

A snapshot is not the same thing as a "screenshot". Click on the word to go to a video that explains how to make and share them.