-6
mit folgenden:Inner Div Bild 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-->
Ich war mit relativ versuchen und absoluten, sondern der Seite anspricht, kann ich nicht die Höhe des .content
Was die CSS ist ?
viele Dinge "hier" - wo? Bitte geben Sie weitere Informationen an. Wahrscheinlich eine [Fiddle] (http://jsfiddle.net) –
Fragen, die Code-Hilfe suchen, müssen den kürzesten Code enthalten, der notwendig ist, um ihn zu reproduzieren ** in der Frage selbst ** vorzugsweise in einem [** Stack Snippet **] (https: //blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css-and-html-code-snippets/). Siehe [** So erstellen Sie ein minimales, vollständiges und überprüfbares Beispiel **] (http://stackoverflow.com/help/mcve) –