简体   繁体   中英

javascript accordian menu how to move plus symbol to left side from right side

I am using an accordian menu from the url below. The menu has plus symbol on the right side. I would like to move the plus symbole to the left side but I can't figure out how to do that.

Any advice, will be greatly appreciated. Dynamic Drive accordian menu

Add the following styles:

.glossymenu a.menuitem .statusicon {
    left: 5px;
    right: auto;
}

a.menuitem.submenuheader {
    padding-left: 24px;
}

Then it will be on the left side instead of being on the right side. The .statusicon is already absolutely positioned within the element, so all you have to do is reposition it to be 5px from the left side instead of its current default, 5px from the right side. The padding is to create a space for the icon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM