inherit
205394
0
Jun 13, 2017 7:38:38 GMT -8
crystalfrost
55
February 2014
crystalfrost
|
Post by crystalfrost on May 3, 2014 13:29:11 GMT -8
Forum URL: all-around-rp.proboards.com
I'm trying to make a drop-down menu in a board header. I can't seem to figure out how to add space between the list items in the drop-down menu. Any suggestions?
Here's my CSS code for the list:
<style type="text/css"> .menu {width: 600px; height: 27px; text-align: center; background-color: #BDBDBD; border-radius: 8px; border: solid #474747;}
.menu ul li {display: inline; padding:20px; position:relative; top:4px;}
.menu li ul {display:none; position: absolute; left: -17px; padding-bottom: 10px; background-color:#BDBDBD; border:solid #474747; top:75%;}
.menu li:hover ul {display:block; width: 170px;} </style> And here's what the page looks like:
all-around-rp.proboards.com/board/27/secret-world
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 3, 2014 12:12:23 GMT -8
You already have spaces between them. Where exactly do you mean?
|
|