Created
June 8, 2016 16:17
-
-
Save bogvsdev/c5172c2693f316d7333f0de748d08c04 to your computer and use it in GitHub Desktop.
centering image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="image-wrapper"> | |
<table class="iw"> | |
<tr> | |
<td> | |
<img src="images/products/dmx4308.gif" alt="4"> | |
</td> | |
</tr> | |
</table> | |
</div> | |
.slick-slide .iw { | |
height:100%; | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
.slick-slide img { | |
display: initial; | |
} | |
.slick-slide .iw td { | |
vertical-align: middle; | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment