I have been trying to align a div in the center so it matches with the image on top of it but have been unable to do that.
In the attached image, see the first image (YUG LUXE). The black strip below it needs to be aligned with the above image but it’s not happening for me. Can someone please help?
I’m using the following code:
<br /> <br /> <table> <tr> <td> <div align="center"><img src="http://youngurbanguy.com/wp-content/uploads/2017/09/YUGluxe-2-274x300.png"></div> </td> </tr> <tr> <td> <div align="center" style="padding: 5% 0; text-align:center; min-height:60px; background-color:black; width:274px; font-size: 105%; letter-spacing: 3px;">EXPLORE COLLECTION</div> </td> </tr> </table> <br /> <br />
Here is the link to the page I’m talking about: http://youngurbanguy.com/
P.S: the other two images next to it look aligned but when I open it on mobile screen, the entire image + the strip below it show left aligned whereas I want them in the horizontal center of the screen.