I am attempting to position #header-supporter
at the bottom right of #header-image
, with overlapping elements. The challenge lies in setting a max-width
of 1280px on #header-supporter-cont
to maintain consistency with the site's margins.
I have tried placing #header-supporter
directly within #header
, but I encountered difficulties as max-width
cannot be applied while keeping #header-image
full-width.
This is the HTML markup I used:
<header id="header">
<div id="header-image">
<a href="#"><img src="http://placeholdit.imgix.net/~text?txtsize=44&txt=Header&w=1920&h=200" /></a>
</div>
<div id="header-supporter-cont">
<div id="header-supporter">
<div>
Lead Supporter
</div>
<img src="http://placeholdit.imgix.net/~text?txtsize=14&w=65&h=65" />
</div>
</div>
</header>
Check out this Pen for reference: http://codepen.io/ourcore/pen/ObBWaY.