steven roberts
steven roberts

Reputation: 31

how can I reduce the vertical space between divs

Hi I have a problem with the distance between divs on a page, as I need to insert more divs (names) without changing my layout. http://www.galeriedenandel.nl/Assets/PageDesigns/kunstenaars.html I have tried to find an answer on the web but have had no luck. As the divs are also a menu I need to have the vertical distance between them reduced by one half to two thirds. I have tried everything that I know plus a lot of just playing around, but nothing seems to work. Could some one ( if it is of interest to any one ) please have a look and give me some advice on how to fix the problem. Than you Steven

Upvotes: 3

Views: 1763

Answers (2)

designersvsoft
designersvsoft

Reputation: 1859

You can use ul li instead of h4.

Upvotes: 1

Philipp Horn
Philipp Horn

Reputation: 578

The vertical spacing (between the names) seems to come from the margin-attribute of the "H4"Tag. There is no div-tag involved. So just adjust that H4-tag to have a smaller margin. (But the use of the H4-Tag at that position is not semantically correct anyway :) )

Upvotes: 1

Related Questions