Results 1 to 2 of 2

Thread: AnyLink CSS Menu bottom margin causes problem in Firefox 800x600 window

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink CSS Menu bottom margin causes problem in Firefox 800x600 window

    1) Script Title: AnyLink CSS Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...anylinkcss.htm

    3) Describe problem:

    The menu divs cause an extended margin at the bottom of the page. I have tried repositioning them to the bottom, outside any tags except body, and also below each top menu link.

    I can compensate by setting a negative bottom margin for the main page container.

    However in Firefox when viewed in an 800x600 window, the links on the top left portion of the page are not active on page load. They become active by moving the mouse around some.

    It is definitely caused by the compensation, margin-bottom: -800px; without the margin setting, there is too much bottom margin.

    Recognizing that this is a problem that affects a small fraction of a percent of users, it is not critical but annoying.

    Also, having to adjust the bottom margin is annoying...

    example: http://www.nyiccinc.com/aboutus.htm

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This should be easy to fix actually. Inside your CSS, try adding the line in red below:

    Code:
    .anylinkcss{
    position: absolute;
    left: 0;
    top: 0;
    margin-top: -10px;
    visibility: hidden;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    width: 200px; /* default width for menu */
    }
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •