View Full Version : Help with Chrome CSS Drop Down Menu

01-31-2008, 03:41 AM
1) Script Title: Chrome CSS Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

3) Describe problem: I'm altering the script a bit by trying to get rid of the border on the last li. So, I added the following in the css file:.chromestyle ul > li:last-child a{border:none;}

This works great in Firefox, but it's not working in Safari3 for Windows or IE. I'm very new to CSS, so any help would be much appreciated.

Thank you!

01-31-2008, 06:38 AM
It could be Safari doesn't support the CSS selector used. The sure fire way is just to add an inline style to the last menu item:

<li><a href="http://www.dynamicdrive.com">Home</a></li>
<li><a href="#" rel="dropmenu1">Resources</a></li>
<li><a href="#" rel="dropmenu2" style="border-right: none">News</a></li>