Okay, Joe. Thanks to Walter Davis fixing your post, I am now able to see your complete code listing. And after I deleted out your code-notes, your code finally started working for me!
The following code is almost perfect now. It gives me curved bottom left/right corners on all menus (not the menuBAR, of course), and curved upper right corners on all my submenus (I define “submenus” as menus that kick off from the main menu which you pull down from the menubar.) Moreover I used a semi-transparent menu background, which allows a slight bit of the menu shadows to come through. All of these tweaks makes my site menus look very close to how menus look in OS X.
<style type="text/css">
<!--
#fwNav1 .sub {
-webkit-box-shadow: #333333 3px 4px 12px;
-moz-box-shadow: #333333 3px 4px 12px;
box-shadow: #333333 3px 4px 12px;
}
#fwNav1 ul.sub, #fwNav1 ul.sub li.fwLastChild, #fwNav1 ul.sub li.fwLastChild a {
-webkit-border-bottom-right-radius: 7px;
-webkit-border-bottom-left-radius: 7px;
-moz-border-radius-bottomright: 7px;
-moz-border-radius-bottomleft: 7px;
border-bottom-right-radius: 7px;
border-bottom-left-radius: 7px;
background: rgba(130,135,141,0.97);
}
-->
</style>
<style type="text/css">
<!--
#fwNav1 ul.sub .sub,
#fwNav1 ul.sub .sub li.fwFirstChild,
#fwNav1 ul.sub .sub li.fwFirstChild > span a,
#fwNav1 ul.sub .sub li.fwFirstChild > a {
-webkit-border-top-right-radius: 7px;
-moz-border-radius-topright: 7px;
border-top-right-radius: 7px;
}
-->
</style>
<!--[if IE]>
<style type="text/css">
<!--
#fwNav1 ul.sub, #fwNav1 ul.sub li.fwLastChild, #fwNav1 ul.sub li.fwLastChild a {
background: #82878D;
}
-->
</style>
<![endif]-->
Also note the last section of the code above that eliminates headaches in IE. Without that, the menus would go 100% transparent!
But alas, this code is not perfect. There is one problem: the very bottom entry of every menu is not transparent at all. It’s very odd. All the rest of the menu, including the very top, is transparent, in accordance with my RGBA command.
You can see how it all looks here:
http://visionsecurity.jp/beta/
(Play around with the 2nd menu from the left.)
I would appreciate hearing your thoughts on the transparency problem.
Thanks,
James W.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options