+ 1

How to add space between images in html with ex

9th Jul 2020, 6:17 PM
Normie Coder
Normie Coder - avatar
5 Respuestas
+ 4
U can group them then use padding
9th Jul 2020, 6:48 PM
Bright Obeng
Bright Obeng - avatar
+ 2
Use margin style rule to increase the space around the images
9th Jul 2020, 8:41 PM
Neba Emmanuel
Neba Emmanuel - avatar
+ 1
Thx
10th Jul 2020, 3:47 PM
Normie Coder
Normie Coder - avatar
0
Ex plz
10th Jul 2020, 5:11 AM
Normie Coder
Normie Coder - avatar
0
HTML <div class="images"> <div id="img1" class="pic"> <img src="" alt=""/> </div> <div id="img2" class="pic"> <img src="" alt=""/> </div> <div id="img3 class="pic"> <img src="" alt=""/> </div> </div> CSS <style> .pic{ margin: 20px; } </style> You can choose to put margin all round the images or simply use, margin-left or right, or top, or bottom. It depends on where you want the space.
10th Jul 2020, 5:31 AM
Neba Emmanuel
Neba Emmanuel - avatar