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 trialMax S.
4,840 PointsCan You guys help me?
testing.
3 Answers
Steven Parker
231,261 PointsFirst, I don't see the "p" tag you are referring to. If you mean the main-sub-heading, that's in a span tag. But you might want to change that to a "p" tag.
Then you could add these properties to the button:
.button {
display: inline-block;
margin-top: 5px;
}
Max S.
4,840 PointsI see. but I want to know if I add span tag then what's the solution. please don't mind but I am doing some tricks to solve problems.
Max S.
4,840 PointsHello Steven,
I checked your answer and it really helped me. Many Thanks!
Steven Parker
231,261 PointsGlad to help — happy coding!
Max S.
4,840 PointsYes DONE!
Max S.
4,840 PointsMax S.
4,840 PointsNo Brother, it's not solving my problem.
Steven Parker
231,261 PointsSteven Parker
231,261 PointsI see that you added those properties to ".button", but you didn't convert the "main-sub-heading" from a
span
into ap
.Give that a try and see if it's what you're after. If not, perhaps you could help me understand what you mean by "that P tag".
Max S.
4,840 PointsMax S.
4,840 PointsI am sorry i wrote p by mistake i meant span tag
Steven Parker
231,261 PointsSteven Parker
231,261 PointsIf you want to do it changing only CSS, how about this: