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 Add a New Page

kathy Soliz
kathy Soliz
828 Points

not sure if anyone had this problem but my photo on the "about page" is quite large. how do I fix that?

my photo appears large on my "about" page. How can I fix it ?

4 Answers

Owa Aquino
Owa Aquino
19,277 Points

Have you specify the image width and height?

kathy Soliz
kathy Soliz
828 Points

the image is about 200 pix. I don't think I did that. how do I change the width and height

Owa Aquino
Owa Aquino
19,277 Points

In your stylesheet/css file you can create a rule for your image. Here are example.

img {
height: enter your desire height here;
width: enter your desire width here;
}

if your image has a class you can set the class instead of img. Like this.

.yourImageClass {
height: enter your desire height here;
width: enter your desire width here;
}

Hope I'm able to help you out on your problem.

Cheers!

kathy Soliz
kathy Soliz
828 Points

you are awesome , silly me ! I didn't set the height and width; had the width at 100% . Thanks Owa ! you rock !

Owa Aquino
Owa Aquino
19,277 Points

I'm glad I could help.

Cheers!