-6
具有如下:內的DIV圖片CSS
<div class="big-container">
<div class="header">many things here that must be fixed on top of the page</div>
<div class="content">
<img src="image"/> <!--Must expand the content div to the size of the image -->
<div class="footer"> Must be inside the image but at the bottom</div>
</div>
</div>
<!-- .content and .header must be at the same top, .content is much higher than header-->
我與相對和絕對,但頁面響應想,我不能設置。內容
的高度什麼是CSS ?
很多東西 「這裏」 - 在哪裏?請提供比此更多的信息。可能是一個[Fiddle](http://jsfiddle.net) –
尋求代碼幫助的問題必須包含在問題本身中重現**所需的最短代碼**,最好在[** Stack Snippet **](https: //blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css-and-html-code-snippets/)。請參閱[**如何創建最小,完整和可驗證的示例**](http://stackoverflow.com/help/mcve) –