I cut one image to three equal images and now I have it in the html code like this:
<img src="images/disclosure2_01.jpg" alt="Disclosure">
<img src="images/disclosure2_02.gif" alt="Disclosure2">
<img src="images/disclosure2_03.gif" alt="Disclosure3">
The images render at the website like this:
I want to know if its possible to remove that vertical spacing between the images and the images to look like one whole picture. Thanks in advance for your help.
The vertical space is because the property "display" is "inline", it is solved leaving the font size at zero, in its parent element. Or changing the display property to the images to "block".
<div style="font-size:0">
<img src="images/disclosure2_01.jpg" alt="Disclosure">
<img src="images/disclosure2_02.gif" alt="Disclosure2">
<img src="images/disclosure2_03.gif" alt="Disclosure3">
</div>
try this. Remove the lines between them.
<img src="images/disclosure2_01.jpg" alt="Disclosure"><img src="images/disclosure2_02.gif" alt="Disclosure2"><img src="images/disclosure2_03.gif" alt="Disclosure3">
or tinker with css.
img { padding: 0; margin: 0; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With