|
|
Thread Tools | Display Modes |
|
#2481
|
|
|
Big grins
|
Allen,
Thanks as always for your assistance. That cleaned up most everything. There are three remaining points I would appreciate some help to address: 1. How can I change the right margin of the "menu" container so the links are closer to the right side of the page, similar to how the company name is flush with the left? 2. On mouse hover, my drop down background is becoming black, I would like it white.. 3. How can you insert spacers (lines) between each drop down list item? Thanks very much again. A |
|
|
|
|
#2482
|
||
|
Big grins
|
addendum
Massaged the code a bit more. I solved #2 however raises a new question: How do I get the drop down links foreground to change to grey on mouse hover?
Also, I noticed there is not equal spacing between the main level menu links. The inner two are closer together than the outer two. Thanks kindly. Quote:
|
|
|
|
||
|
#2483
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
...
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
color:black;
background:white;
height:20px;
line-height:20px;
width:250px;
}
.menu ul ul :hover > a.drop {background:#ccc;} /* 2nd if 3rd level exists */
/* yet another hack for IE5.5 */
* html .menu ul ul a {width:120px; w\idth:120px;}
/* 2nd level hover */
.menu ul ul a:hover, .menu ul ul :hover > a {
color:black;
background:#ccc;
}
/* make the 2nd level visible when hover on 1st level */
.menu ul :hover ul {visibility:visible;}
Code:
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
text-decoration:none; /* none, overline, underline */
color:white;
background:none;
font-size:14pt;
font-variant: small-caps;
font-family: 'Lucida Handwriting';
width:auto; /* Defines the main box dimensions. */
height:20px; /* How tall your cells are */
line-height:20px; /* vertical text alignment in cell */
padding: 0 10px; /* top/bottom R/L */
/* min-width: 60px; */ /* set to smallest text and use R/L padding above to space out */
}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#2484
|
|
|
Big grins
|
Finishing touches
Allen,
Thanks again for your help. A few finishing touches I could use some help with. 1. Lines (separators) dividing each link in the gallery drop down menu. 2. Where does the CSS for box-shadow get inserted to make a drop shadow? 3. I tried putting in the positioning for the container left: 75px which works great for Chrome. It moves the main level links all the way to the right side where they should be. However, on IE, it moves them so far they are off the screen. Is there an IF statement to be used if the browser detected is IE and therefore do not apply the left rule? Thanks again very kindly! Adam www.ftlimages.com |
|
|
|
|
#2485
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
...
/* make the 2nd level visible when hover on 1st level */
.menu ul :hover ul {visibility:visible;}
.menu ul ul li {border-top: 1px solid #ccc;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
| Tell The World! | |
| Tags | |
| customizatation , navbar | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| DropDown NavBar Positioning and Color | CerebrusX | SmugMug Customization | 6 | Aug-08-2012 09:42 AM | |
| Please Help About Dropdown Navbar | wangyunpeng | SmugMug Customization | 2 | Jul-09-2011 10:51 AM | |
| single dropdown navbar? | dogwood | SmugMug Customization | 33 | Jun-21-2010 08:57 PM | |
| Dropdown Navbar | juan14888 | SmugMug Customization | 7 | Apr-19-2010 05:34 PM | |
| navbar dropdown code errors? | amyparsons | SmugMug Customization | 20 | Jan-09-2009 07:53 AM | |
| Thread Tools | |
| Display Modes | |
|
|