We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Change drop-down menu to drop-up
Topic Started: Mar 29 2013, 03:46 PM (791 Views)
tiptopolive
Member Avatar
oh my, he's so gangsta
[ *  *  *  *  *  *  * ]
If possible, I'd like to move the drop_menu ul so that rather than dropping down, it drops up, atop the menu item. Like so:

Posted Image -> Posted Image

I thought about just using a big negative margin in the CSS, but since the Inbox and Preferences ul's aren't the same height, I don't think it would work -- plus I don't want to use negative margins if I don't have to.

Can this be done with javascript or something else? The order of the drop-down links doesn't matter, and I can do the CSS tweaking myself.
Offline Profile Goto Top
 
Pete B
Member
[ *  *  *  *  *  *  *  * ]
Try adding a bottom value to the .drop_menu ul

On ZB Original, bottom: 98%; seems to create the drop up affect you're looking for.
Offline Profile Goto Top
 
tiptopolive
Member Avatar
oh my, he's so gangsta
[ *  *  *  *  *  *  * ]
That was easy, thanks! As long as I'm asking, how can I move the ul to the left? Adjusting the left: -999em attribute doesn't do anything (even removing it altogether seems to have no effect).
Offline Profile Goto Top
 
Pete B
Member
[ *  *  *  *  *  *  *  * ]
I think you will have to use a negative margin on the ul to do it. I tried with a right margin and got nothing, but a negative left margin worked.
Offline Profile Goto Top
 
Helena
Member Avatar
M is for Mod

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic