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

CSS

Can You guys help me?

testing.

3 Answers

Steven Parker
Steven Parker
231,261 Points

First, 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;
}

No Brother, it's not solving my problem.

Steven Parker
Steven Parker
231,261 Points

I see that you added those properties to ".button", but you didn't convert the "main-sub-heading" from a span into a p.

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".

I am sorry i wrote p by mistake i meant span tag

Steven Parker
Steven Parker
231,261 Points

If you want to do it changing only CSS, how about this:

.main-sub-heading {
  display: block; 
}

I 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.

Hello Steven,

I checked your answer and it really helped me. Many Thanks!

Steven Parker
Steven Parker
231,261 Points

Glad to help — happy coding!

Yes DONE!