Site logo

Archived topic

Vertical space on a page

3 replies · Started by Dejan on April 23, 2017

Viewing posts 1–4 of 4

Hello guys,

how should I fix vertical space between the rows? I have tried margin-top and bottom but didn't work since I don't know exactly where to put it.

Current code on page is:

<style>
ul#menu li {
display:inline;
padding: 5px;
border: 2px solid black;
margin: 10px;
font-family: "Tahoma", Times, serif;
font-size: 20px;
font-weight: bold;

}

</style>

Try changing display:inline to display:inline-block.

Oh my, I feel so stupid. :D Margins, tops, bottoms, codes for boxes, rows etc. I tried everything and here you go, literally one word. :D

Thank you

No problem! Glad I could help :)

This archived topic is closed to new replies.