468,484 Members | 1,545 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

how to remove space between grid columns

Hello guys.
Im creating project. I have images that i have in grid bootstrap system, but i dont want space there(highlighted by green). How can i remove it? Thanks for any advice.


Expand|Select|Wrap|Line Numbers
  1. <div class="row text-center">
  2.         <div class="col-lg-4">
  3.           <img class="fluid" src="/prj1.jpg" alt="">
  4.         </div>
  5.         <div class="col-lg-4">
  6.           <img class="fluid" src="/prj1.jpg" alt="">
  7.         </div>
  8.         <div class="col-lg-4">
  9.           <img class="fluid" src="/prj1.jpg" alt="">
  10.         </div>
  11.         <div class="col-lg-4">
  12.           <img class="fluid" src="/prj1.jpg" alt="">
  13.         </div>
  14.         <div class="col-lg-4">
  15.           <img class="fluid" src="/prj1.jpg" alt="">
  16.         </div>
  17.         <div class="col-lg-4">
  18.           <img class="fluid" src="/prj1.jpg" alt="">
  19.         </div>
  20.  
  21.       </div>
May 6 '21 #1
1 1532
dev7060
430 Expert 256MB
I have images that i have in grid bootstrap system, but i dont want space there(highlighted by green)
What green?

Check out bootstrap spacing i.e. margins and paddings in the docs. Also, maximum 12 columns are allowed in a row. Yours add up to 24.
May 7 '21 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Joseph | last post: by
1 post views Thread by Ann Marinas | last post: by
1 post views Thread by Nikhil Patel | last post: by
5 posts views Thread by Steve | last post: by
4 posts views Thread by ashish1779 | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.