Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

How to make the margin between images become zero? #103

Open
kayvannj opened this issue Feb 21, 2014 · 1 comment
Open

How to make the margin between images become zero? #103

kayvannj opened this issue Feb 21, 2014 · 1 comment

Comments

@kayvannj
Copy link

I have added the library and its working great but I need to connect all of my images horizontally. I can not find where this margin comes from but there is about 10 px margin between each pair of images.

Can some one help me please?

@SlavaJan
Copy link

SlavaJan commented Aug 23, 2016

There's a hack for that in HTML. I hope it will help you in your case too.
When you place images like that: <img src="bunny.jpg"><img src="sheep.jpg"> there is a space between them like you said about 10 pixels.
To avoid that you can place images like this:
<img src="bunny.jpg"><!----><img src="sheep.jpg">
or even like this:
<img src="bunny.jpg"><!-- killing the margin --><img src="sheep.jpg">
to keep code beautiful. Just remember to put any commentary between your pictures.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants