Jump to content

Recommended Posts

I have a fixed floating bar at the bottom of the page, and when I click on a tab... I would like it to bring up a div .. so it'd be like a menu, so I can put things in it.. but only not a menu. It contains links instead of other tabs etc inside it sort of thing.

 

how can I do it? - Think about facebooks chat.. click on the users bit.. and it brings up that div

Link to comment
https://forums.phpfreaks.com/topic/204635-drop-up-menu/
Share on other sites

#users { /* this will ba used as a wrapper for the nav_menu so we can center it (nav_menu). especially for IE */
width:150px;

/* the code below will PUT the bar at the bottom */	
bottom:31px;
position:absolute;

z-index: 99;

float:right;
}

thats the style for it, but it seems to just stick left...=[

Link to comment
https://forums.phpfreaks.com/topic/204635-drop-up-menu/#findComment-1071411
Share on other sites

Remove the line float:right; it has no effect as it's completely ignored by the CSS engine, you can't float an absolute positioned element.

 

If an element’s position property is set to absolute or fixed, it’s absolutely positioned. In this case, float  is ignored (the computed value is none).

-- http://reference.sitepoint.com/css/displaypositionfloat

Link to comment
https://forums.phpfreaks.com/topic/204635-drop-up-menu/#findComment-1071450
Share on other sites

Right, well the menu is on the right side of the bottom floating bar... so I need css to put that div.. on the right side... The bottom bar is 90% in width, with a min-width of 900px.

 

Removing the float, keeps it on the right.. obviously, but removing the the position, doesn't make it show up at all

Link to comment
https://forums.phpfreaks.com/topic/204635-drop-up-menu/#findComment-1071534
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.