I setup a div for my "headline" and I wanted to nest it inside the "header" div. For some reason in Chrome it is only displaying the div outside of the header div, not nested within. In the HTML I have the headline div nested in the header.
If you have any thoughts as to what's wrong with the css I would greatly appreciate it. I have used Inspect elements feature in all browsers to try and find a fix.
Thanks so much!
#header {
height:160px;
width:1000px;
background-image:url(../img/green_bg.jpg);
background-repeat:repeat-x;
}
#headline {
float:right;
width:660px;
margin-right:140px;
margin-top:115px;
font-family:GothamBold, helvetica, arial, sans-serif;
font-size:20px;
color:#0f5e92;
text-transform:uppercase;
line-height:1.2;
}
<div id="header">
<img src="img/logo.png">
<div id="headline">Welcome! Learn about all of the programs has to help your clients with their marketing.</div>
</div>