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

HTML

SeHyun Choi
SeHyun Choi
3,441 Points

Center a logo on top of container

Hello, I think I am asking a question about position absolute and position relative.

What I am trying to do is I want to put the logo kind of on top my content. Also when I shrink the web browser size the logo must be centered horizontally and still be on top of my content.

Please help me

Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,696 Points

Do you have some starter code in a Workspace or CodePen that you can share?

1 Answer

leorohmann
leorohmann
2,466 Points

@SeHyunchoi Please post your current code (html + css) and I will help you!