It's kinda embarrassing but im stuck. Here is my index.html:
<header>
<div class="wrapper">
<div class="top_menu">
</div>
</div>
</header>
And this is my style.css:
body{
font-family: Verdana, Geneva, sans-serif;
font-size: 12 px;
}
.wrapper{ width:1680 px; margin:0 auto }
header{float:left; width:100%; min-width:1680 px}
.top_menu{ background-image:url('../images/top_menu.jpg');}
I included the <link rel="stylesheet" type="text/css" href="css/style.css"> tag in the index.
The root folder contains: the index.html , the css file and the images file (roots children). Can you help me out please?
style.cssand in CSS change the image path to 'top_menu.jpg'top_menuseems to have no content, and no explicit height either. Therefor it doesn't have no height, and thus no visible background.min-height: 100px;to your.top_menuso that you could see something