Here is my HTML code snippet:
<div id="backgroundH"></div>
<div id="header">
<h2> Premium Store </h2>
</div>
This is my CSS code snippet:
#backgroundH {
width: 100%;
height: 50px;
background-color: #dddddd;
}
#header {
top:-50px;
color:black;
font-family:Courier New;
}
body {
background-color:#cccccc;
}
I have been trying to make it work, but nothing seems to be happening. Can someone please assist me in figuring out how to position the text over the div that I am using as the background?
The desired outcome should show a gray background with the text "premium store" overlayed on top of it.