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
Luqman Shah
3,016 PointsLogo set as "inline-block" but still not inline with the nav list items, how to fix?
So I've set the logo to inline-bock so it's on it's own line but still inline with the nav items, but it still wants to remain above the nav items instead.
@media (min-width: 769px) {
/* div {
border: solid 1px red;
} */
.main-header {
}
.logo {
margin-top: 20px;
display: inline-block;
}
.main-header li {
/* border: solid 1px red; */
margin-top: 20px;
margin-bottom: 20px;
display: inline-block;
}
.buy {
float: right;
margin-top: -5px;
}
}
1 Answer
Tony Soukkeo
8,170 PointsWhat's the html side of the code looking like?