|
Lazykatz -> RE: Need Code for a problem (8/14/2006 3:18:28)
|
quote:
Will putting the h2's in div's get rid of the px between the blocks too? If you mean for the Netscape browser, No. It allows you to space your h2's evenly, and/or the white space between them, but at the same time allow all of your dropdowns be the same width. Currently your dropdowns have different widths. I assume there is a solution, I did the same as you at 1st by just changing colors, I thought I was seeing things, so I put the default code on a dark page and it was there too in Netscape. You have Firefox, do you know how to use the web developement tools? You can look at code, css, etc. with them, and can edit your work on your desktop with them too before publishing to web. Open my test page above in Firefox, in the menu at top, click tools, click web developer, click css, click view. Basically all I did was change colors of the default code, put the h2's in divs and sized them, they are the div's m1, m2, m3..etc. To get the dropdowns the same width, DEFAULT CODE: DIV#menu LI:hover UL { DISPLAY: block } MY CODE: DIV#menu LI:hover UL { WIDTH: 118px; DISPLAY: block } You have the latest version of the menu, all they did was condense some of the code. YOUR DEFAULT CODE: div#menu li:hover ul, div#menu li li:hover ul, div#menu li li li:hover ul, div#menu li li li li:hover ul {display:block;} NEW CODE: div#menu li:hover ul { WIDTH: 118px; (change/add width here) } div#menu li:hover ul, div#menu li li:hover ul, div#menu li li li:hover ul, div#menu li li li li:hover ul {display:block;} Also, at top of menu code, remove the width 100% from #div menu, just leave float left. I am using this menu on my new site. If/when I do tackle the menu problem in Netscape, I'll PM you or post it here with the solution, if you want me too. It is the least of my worries right now. I also just got a new pc not long ago after my old pc crashed with over a year of developement of my new site, scrambling to get 1000 pages done all over again from scratch. [:@] Grizz
|
|
|
|