I met some problems with the inline-block property
It works great, but when I fill out one of mine <li>, it doesn't put them all on the same level.
I wanted everyone to have the same size (width and height) = and the same vertical position
Below is my css
ul#display-inline-block-example,
ul#display-inline-block-example li {
margin-right: 10;
margin-top: 10;
padding: 0;
}
ul#display-inline-block-example li {
display: inline-block;
min-width: 121px;
min-height: 95px;
max-width: 121px;
max-height: 95px;
background: rgb(255,255,255);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
box-shadow: 0 0 0 1px #fafafa inset, 0 1px 1px 0px #dddddd;
border: 1px solid #d5d5d5;
-webkit-box-shadow: 0 0 0 1px #fafafa inset, 0 1px 1px 0px #dddddd;
-moz-box-shadow: 0 0 0 1px #fafafa inset, 0 1px 1px 0px #dddddd;
text-align:center
}
and then html
<div class="main">
<ul id="display-inline-block-example">
<li><img src="images/history.png"></li>
<li>Item two</li>
<li>Item three</li>
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
</ul>
</div>
Help everyone welcomed
