I have a question about the layout of my divs. I want to float the last two divs to the left, next to the first one. However, the second div is floating after the third one. Can anyone explain why this is happening?
Thank you for your help!
This is the code I am using:
HTML
<div id="holder_idea"><h5>something</h5></div>
<div id="visual_holder_second">something2</div>
<div id="invest">
<h2>something3</h2></div>
CSS
#holder_idea{
width:200px;
padding-right:48px;
padding-left:32px;
padding-top:32px;
display:inline-block;
}
#visual_holder_second{
font-family: "Times New Roman";
font-size:7.5em;
text-transform:uppercase;
line-height:60%;
width:140px;
float:right;
padding-top:32px;
}
#invest{float:right;}