sorry if I'm asking my question in not a professional way. I have a div inside of which I have two images (previous and next images-arrows); I want to put them in a row in way that these two images are in the center with a some specific space in between;
What I have tried is as following:
<div class='navbars'>
<img src='<?PHP echo base_url('image/previous.png'); ?>' id='previous' style='width: 70px;height:70px;' alt='previous'>
<img src='<?PHP echo base_url('image/next.png'); ?>' id='next' style='width: 70px;height:70px;' alt='next'>
</div>
and my CSS:
#previous , #next{
cursor: pointer;
}
#previous{
margin-left: 330px;
}
#next{
margin-left: 550px;
}
But first of all the 330pc and 550 are not a good way to put them in center! Is there any better way? Secondly images are shown in two different rows! not the same row!
If you need more clarification, please just let me know which part you need more lcarification, and I will provide more clarification.