Struggling to articulate my question, but I'll give it a shot :D
Let's talk about the images:
I'm having trouble explaining, I want to align the elements like in the first image, but all I'm getting is the second and third pictures. CSS :
.contents{
background-color: rgb(57, 66, 100);
border-radius:5px;
overflow: hidden;
display:inline-block;
width:286px;
margin: 5px 5px 5px 5px;
float: right;
}
HTML :
<div class='contents'>
<div class='title'>
<span class='nxnsh'>a</span>
</div>
<div class='content'>
<ul class='nlisty'>
<li><a href=''>as</a></li>
<li><a href=''>as</a></li>
<li><a href=''>as</a></li>
<li><a href=''>as</a></li>
</ul>
</div>
</div>
Check it out on fiddle http://jsfiddle.net/Qaagv/ trying to eliminate the empty space between top row and bottom row