I have created a graph using CSS but i got some of troubles with inner divs (bar classes). There are white spaces between inner divs. I've tried by using float: left. it can remove white spaces, but inner divs are not adjacent to the bottom of outer div (graph class).
This is an example links (still not remove white space): http://dabblet.com/gist/2779082
Thank you
HTML
<div class="graph">
<div style="height: 22px;" class="bar"></div>
<div style="height: 11px;" class="bar"></div>
<div style="height: 6px;" class="bar"></div>
<div style="height: 49px;" class="bar"></div>
<div style="height: 28px;" class="bar"></div>
</div>
CSS
.graph {
width: 50px;
height: 50px;
border: 1px solid #aeaeae;
background-color: #eaeaea;
}
.bar {
width: 8px;
margin: 1px;
display: inline-block;
position: relative;
background-color: #aeaeae;
vertical-align: baseline;
}