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
Oliver Sewell
16,425 PointsHow would i get the "P" into the center of the circle ??
http://codepen.io/OliverSewell/pen/pjgOMQ
Please help , thanku in advance :)
2 Answers
Unsubscribed User
8,841 PointsOne of my way is to use the position property.There might be other ways also to do this depending on your requirement.
h1 {
position:fixed;
left:51px;
top:15px;
}
Unsubscribed User
8,841 PointsAnother way of doing is using the float property,
.PPP { background: red; height: 100px; width: 100px; border-radius: 50%; float:left; text-align:center; }
Oliver Sewell
16,425 PointsOliver Sewell
16,425 PointsThankyou i was heading towards the positioning , i wonder if their is a quicker way?