Div Fit Content Background
<!--Let a transparent image dictate the DIV dimensions.
Inside that div put the same image with CSS opacity: 0-->
<div id="mainHeaderWrapper">
<img src="path/to/image.jpg"><!-- I'm invisible! -->
</div>
Zarden