Hi All,I would like to know how to create gaps between my menu items. What I mean is suppose I have a navigation section on my web page which is made up of 5 rectangles stacked on top of one another. I would like to separate each rectangle from the rest of the rectangles in the menu with gaps above and below each rectangle. Any help will be greatly appreciated, thanks in advance.

EternalWeb

PicnicTutorials
—
2012-12-25T15:57:43Z —
#2

You so that with Margins. If not working you need to make them block.

ronpat
—
2012-12-25T21:48:04Z —
#3

Lists, <ul> <ol>, have vertical margins applied by default. List items, <li>, do not. As Eric said, you can apply vertical margins to the list items to separate them.

li {margin:10px 0} /* like this */

It is sometimes a good idea to set the default vertical margin of the list to zero to prevent an unexplained mysterious force from pushing the top of the page down from the top edge of the browser window.

ul {margin:0}

ralphm
—
2012-12-26T07:36:02Z —
#4

Hi EternalWeb. Welcome to the forums.

If the answer above don't help, then please post your code, or better still, a link to the site. Then we can give more specific help.

EternalWeb
—
2012-12-26T08:45:23Z —
#5

Thank you all for your input, your suggestions have helped a lot. I was able to create the look and feel I've been searching for thanks.