Quick Nav:  Online Store   |   Login | Register

Any CSS Class to style first-child and last-child in every level?

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Rashmi
<20 Posts
Posts:1


07/23/2008 10:37 AM  

Dear Support,

I am using SNAPSIS NAVMENU on of our site to display child-tabs on the left for the selected parent from the navigation across the top.

I am using it in a SKINNING OBJECT format. The menu is working fine except the last-child's style. I want to apply the background image for the last child in the level 2 and want to remove the background image for the last child in the level1. Please toy with the navigation (SANDBOX - tab) on this page to get a better idea about the problem http://www.pt.alterd.co.uk/Sandbox/SandboxLevel2a/tabid/10543/language/en-US/Default.aspx

May I know if there is any class that can be defined in the CSS to control last-child and first-child in each level?

Please guide.

Many thanks,
Rashmi

Charles Rowland
<50 Posts
Posts:39


08/05/2008 10:36 AM  
I use this to move the background menu separator out of view for the first menu item, but my menu does not change and if it did, and the id changes, I would have to modify my css. Since this assumes you know the id, this may not work for you if the menu is dynamic.

#MainNav #MainNav36 {background-attachment:fixed;background-position:-20px 0;}
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Any CSS Class to style first-child and last-child in every level?



ActiveForums 3.7
Powered by: Snapsis Software