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 trialJane Marianne Filipiak
7,444 PointsCannot position the two column correctly in 'Positioning Scheme" challenge.
Here is the code I wrote for the above challenge. What am i doing wrong?
.main-header {
position: relative;
}
.main-logo,
.main-nav {
position: absolute;
}
.main-logo {
top: 25px;
left: 25px;
}
.main-nav {
bottom: 30px;
right: 25px;
}
.content-row {
position: relative;
}
.col {
position: absolute;
}
.primary-content {
left:0;
}
.secondary-content {
left:0;
}
Thank you :)
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Jane,
First thing is that the class names are primary
and secondary
. You have added -content
to the class names.
Secondly, the secondary column should have a right
offset of 0.
Jane Marianne Filipiak
7,444 PointsThanks Jason!