I have a problem in aligning the contents of the div to center
I have tried a lot of thing to center the images but did not work.
I have the following structure
<div class="middleSlideContents">
<div class='image'>
<img>
</div>
<div class='image'>
<img>
</div>
<div class='image'>
<img>
</div>
</div>
Now i just have to align the contents of <div class='middleSlideContents'>
to center but i can't figure out what i am doing wrong.
The <div class='image'>
are generated dynamically but when it generates it has the following structure.
Rest of the code is here Fiddle Demo
and the middleSlideContents
div is a responsive so the heights and widths varry by screen right now it is not in jiddle demo
Any help please, please tell if the structure is wrong or i am doing something wrong