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

Why did my image get so huge?

I cannot figure out why my images got so huge suddenly. I cannot find the problem in HTML or CSS. I am in the first web page class.

sergio alvarez
sergio alvarez
15,205 Points

Hi Paula, the image usually do not get resize unless instructed, you should see the dimensions first of the image and check if the image is way to large for the position that you like, or you could limit the size of the image by placing it inside a container. Try out a different image also and see it that way

It started out fine, then I must have changed something to make all of the images huge. I cannot find the error.

2 Answers

I deleted it and started over. Turned out fine the second time. However, I never did figure out what I did wrong. Oh well. Thank you Sergio for your help. :)

sergio alvarez
sergio alvarez
15,205 Points

Are you able to upload or paste your code plus the image ?