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 trialDino Batanovic
Front End Web Development Techdegree Student 1,262 PointsFront End Dev Project 1 I am struggling to make the banner on my second page.
It have added the image but it is too big. I need to change the height so that it would be the same size as on the title page. Here is the CSS code:
header { text-align: center; background: url('images/1canyon.jpg') no-repeat top center ; background-size: cover; overflow: hidden; padding-top: 60px; } header { line-height: 1.5;
1 Answer
Gabriel Gonzalez
709 PointsHave you tried setting the width and height of the image?
Dino Batanovic
Front End Web Development Techdegree Student 1,262 PointsDino Batanovic
Front End Web Development Techdegree Student 1,262 Points<header> <img src="images/1canyon.jpg" alt="Canyon_Image" class="banner-image" width = ”170” height = ”70”> </header>