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
Sargon Gabriel
2,618 Pointsimages
i got 2 images with 2 different heights and width. and i have a problem setting them to the same height and width because even if i set the value for both to be exactly the same they still have this difference in height and width, and its messing up my project any ideas? thanks.
1 Answer
Chris Craigman
13,659 PointsIf you are setting there height and width values with
height: 80%; width: 80%;
You are only decreasing the overall value of the images width and height, Try using pixels to change the value of there width and height
height: 500px; width: 500px;
or you can even use em which goes up by 16px
height: 5em; width: 5em;
sorry that's all I can do without seeing any code hope this helps in any way possible
Zack Lee
Courses Plus Student 17,662 PointsZack Lee
Courses Plus Student 17,662 Pointsshare your code!! how are you setting the height/width?