shadowayex Posted January 28, 2008 Share Posted January 28, 2008 http://www.cssplay.co.uk/menus/That place gives you a code to do it, but it doesn't teach how to do it. So I have no clue what to edit, what does what, and all that jazz. So, does anyone want to TEACH me how to? Or at least show me a small code with notes on what does what? Link to comment Share on other sites More sharing options...
jlhaslip Posted January 29, 2008 Share Posted January 29, 2008 There are several methods used on the various cssplay drop-downs.which one are you looking at using? That will determine the answer since they each use different techniques, so the answer depends on the Menu you choose to use. Link to comment Share on other sites More sharing options...
S@m Posted January 29, 2008 Share Posted January 29, 2008 http://www.alistapart.com/articles/dropdowns Link to comment Share on other sites More sharing options...
shadowayex Posted January 29, 2008 Author Share Posted January 29, 2008 Thanks for that link, now I understand what does what. I owe you one. Link to comment Share on other sites More sharing options...
shadowayex Posted January 29, 2008 Author Share Posted January 29, 2008 I'm having a small issue. The drop down menus are like 1 pixel to the right from under the first list thing. My code is: ul {padding: 0; margin: 0; list-style: none;}li {float: left; position: relative; width: 10em;}li ul {display: none; position: absolute; top: 1em; left: 0;}li > ul {top: auto; left: auto;}li:hover ul {display: block;}li.current {background-color: blue; text-align: center; border: thin ridge black;}li.other {background-color: green; text-align: center; border: thin ridge black;}li.subcurrent {background-color: blue; text-align: center; border-left: thin ridge black; border-bottom: thin ridge black; border-right: thin ridge black;}li.subother {background-color: green; text-align: center; border-left: thin ridge black; border-bottom: thin ridge black; border-right: thin ridge black;} How do I position the menus one pixel to the left, and one pixel down would be nice as well. Link to comment Share on other sites More sharing options...
BigAl75 Posted January 30, 2008 Share Posted January 30, 2008 There's got to be a way to do this without using javascript. I remember seeing it somewhere, and I also remember posting about it (I think on here). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.