center the image horizontal and vertical
Hi Spark,
Please try following JS code:
pre
.continer4 {
position: relative;
}
centerimage4 {
position: absolute;
top: 50%;
left: 50%;
margin-left: -100px !important;
margin-top: -100px !important;
}
/pre
Regards.