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
Milan Milosevic
6,647 PointsHow to make one pic (logo) to lie half in the header, half over the other pic
So, i have a header on my page, lets just say a blank div with some background color, and i've put another pic right after that, that is 100% wide.
So, now i need to put in a logo pic (one circle), and i want it to spread across both, one part in header and bottom part to sets over that other pic. I gave that logo dispay inline, that float, but none of that helped me, it always takes 100% of a width for that logo , and puts it in between those two.
help pls :)
2 Answers
Patryk Nowak
14,103 PointsMaybe this will help you :)
Cody Sheets
7,198 PointsI did the following:
#Headercolor {
background-color: red;
}
#mainbanner {
width:100%;
max-height:200px;
}
#sig {
position:relative;
left:50%;
bottom:100px;
}
Cody Sheets
7,198 PointsWhich is what Patryk did essentially :D
Milan Milosevic
6,647 PointsMilan Milosevic
6,647 PointsIt sure did! Thanks