PDA

View Full Version : Chrome Menu Help Needed



stormagan
03-22-2006, 04:44 PM
I love the Chrome Menu, but I have one difficulty. If I have a particularly long menu list (or a small browser window), one that goes beyond the bottom of the browser, then the menu bumps up above the navigation bar.

How do I change it so that the menu begins in the same place, directly below the navigation bar, no matter what the window size?

Thanks!
Storm

Samsoske
03-22-2006, 04:54 PM
You might be able to do this with absolute positioning.

Example, with css:

**********************************************************
<style type="text/css">
.menubar {
position:absolute; left: 45px; right: 56px;
}
</style>
**********************************************************

The above might not be what you should use, but its an idea...
If you play around with the above you could add another id, and position both the nav bar and chrome menu, so that they never move apart and away from where you specified them to be.

stormagan
03-22-2006, 05:21 PM
This is alreeady absolute positioned here:

dropmenudiv{
position:absolute;
top: 0;

but for some reason, the bottom of the browser pushes the dropdown up in the event that the dropdown is too long for the browser.

Samsoske
03-22-2006, 08:04 PM
originally posted by stormagan
dropmenudiv{
position:absolute;
top: 0;


Yeah but you have not given it a "home"....

**********************************************************
dropmenudiv{
position:absolute;
top: 0px;
left: 00px;
**********************************************************

Give the absolute position of the element, then it will stay there. Replacing the 0's above with the x&y pos. of your menu. But you can also specifiy the "right" and "bottom" properties....


If you do all this, it will stay were you want it.