Previous Message
Next Message

Emulating Dropdown menus with CSS

Sent by Ken Robinson on 30 September 2003 03:03


At 11:20 AM 9/23/2003, Seamus Leahy wrote:
> > emulate drop down menus.  You can see that I almost
> > have it.
> > <http://www.kis-hosting.com/navtest/index.php>
> > Except that the drop down menu pushes the rest of
> > the text down, instead of
> > overlaying it.
> >
> > The CSS file is
> > <http://www.kis-hosting.com/navtest/navtest.css>
>
>Try adding "position: absolute;" and "z-index: 1000;"
>to your dropdown class.

The key was to add "position: relative;" and the z-index.

It's now working, at least for my test case. :-)

Ken 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: