How to make the following div's appear inline in the following html with a scroll
@ http://jsfiddle.net/hj2E6/5/
<div id="scrollable">
<div class="childDiv">
<div class="inner">I am the first div in first should appear inline with the rest of the text</div>
<div class="inner">I am the second div in first should appear inline with the rest of the text</div>
</div>
<div class="childDiv">
<div class="inner">I am the first div in Second should appear inline with the rest of the text</div>
<div class="inner">I am the second div in Second should appear inlinewith the rest of the text </div>
</div>
Here is the CSS I have written
#scrollable {
width : 50%;
height : 350px;
background-color: #d0e4fe;
overflow-x: scroll;
overflow-y: hidden;
}
.childDiv {
float: left;
}
.inner {
float : left;
}