Home › Forums › JavaScript › Thumbnails same height, please…. › Reply To: Thumbnails same height, please….
April 9, 2014 at 1:50 am
#167869
Paulie_D
Member
Firstly, you really need to abstract all that inline CSS to a CSS stylesheet.
Then the basic styling would be like this
http://codepen.io/Paulie-D/pen/hpsro/
li {
list-style: none;
float:left;
height:64px;
display: block;
border:1px solid grey;
margin-right: 3px;
}
li a img {
display: block;
border: none;
max-height:100%;
}