CodePen

HTML

            
              <ul>
  <li><a href="#">jkfasdf</a></li>
  <li>
    <a href="#">
      <span>jkffasdf</span>
      <span>jkffasdf</span>    
      <span>jkffasdf</span>    
      <span>jkffasdf</span>  
    </a>
  </li>
</ul>
            
          
!
via HTML Inspector

CSS

            
              ul{
  margin:5px;
  background: red;
  float:left;
  border-radius:5px;
}

ul li {
  display: inline-block;
  width: 100px;
  text-align: center;
  vertical-align: middle;
  padding:5px;

}

ul ul {
  border-radius:none;
  margin:0;
}
a {
  text-decoration:none;
} 

a span {
  display:block;
  text-align: center;
}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................