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

CSS How to Make a Website Adding Pages to a Website Style New Pages

Kevin Afsari
Kevin Afsari
4,269 Points

I cannot make the picture in my about.html into a circle.

My .profile-photo rule doesn't seem to be working. To my knowledge I've typed in everything perfectly, but I cannot seem to manipulate it in any way. I'm totally mystified, if you could please highlight the problem I would greatly appreciate it!

I also have trouble creating my twitter account into a link! It all my commands past the <a href> turn red.

5 Answers

damienz
damienz
1,470 Points

Have you linked your CSS file in your HTML file? For example: <link href"css/main.css" rel="stylesheet">

Other than that Majid's response will work for you.

Majid Mokhtari
Majid Mokhtari
10,506 Points

for the photo, you must go to your css file and choose the class .profile-photo and use the property: border-radius and set its value to 50%;

for your twitter account write something like this in your html page: <a href="http://twitter.com/majidmo">majidmo</a>

Andres Altuve
Andres Altuve
16,274 Points

Can you share the HTML and CSS code to check it out?

Kevin Afsari
Kevin Afsari
4,269 Points

Is there a way I can upload my workspace to make it more transparent for my problem?

Kevin Afsari
Kevin Afsari
4,269 Points

I believe something is wrong with my workspace because none of my class or id rules are working in my css recently. Is there any way I can upload my workspace and someone could highlight my issues? Thank you