tags in a row will create a large vertical space on a web page. ... get rid of space between DIVs. I'm laying out my site using CSS Div tags and I can't get rid of an annoying vertical line between my divs. With just 3 lines of CSS we can with the help of transform: translateY() vertically center whatever we want with CSS. Of course making them slightly less than 50% width makes them appear on the same line, ... That whitespace between the two .grid__items ... Vertical Gap Between Divs. Just want to seperate my header from my nav bar, easy way? 0. I need let's say 10% cut from top and 10% cut from bottom. align a vertical line/border between divs ... how can i get that dotted line to be perfectly in between those two paragraphs? How to - Vertical spacing between two divs? andre1990 2011-10-28 15:30:31 UTC #1. First, some semantics. Late to this party, but here's my suggestion. Adding a padding between the divs to simulate a gap might be a hack, but why not use something Bootstrap provides. Hi there, I'm having a bit of trouble adding a vertical line down the center of one page in my Bedford template. On the first go around the slide show seems to revert back to the last slide in between the others.