Mod-Jay Posted November 7, 2010 Share Posted November 7, 2010 Hi i am trying to make a dropdown box, the drop down works but the design does not. im trying to make it have a border on everyone on hover and normal. whats it does it leaves the top border empty on the top and it works for the rest. i want it to have the borders on it on normal too. if you need pictures/more explanation please post about it. Thanks! #menus a.fly { display: block; width: 184px; height: 22px; overflow: hidden; line-height: 15px; color: green; text-decoration: none; text-align: left; border-bottom: 2px solid white; } #menus a.fly span { display: block; padding: 3px 4px 0; } #menus a.fly:hover { color: red; margin: center; border-right: 2px solid white; border-left: 2px solid white; background-color: #898989; background-position: 1px -48px; } Quote Link to comment https://forums.phpfreaks.com/topic/218010-dropdown-box-design/ Share on other sites More sharing options...
haku Posted November 8, 2010 Share Posted November 8, 2010 Not sure exactly what you mean. But you should also show your HTML - HTML is the cake, CSS is the icing. Without the HTML, CSS has no meaning. Quote Link to comment https://forums.phpfreaks.com/topic/218010-dropdown-box-design/#findComment-1131616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.