Results 1 to 5 of 5

Thread: HV Menu Alignment

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV Menu Alignment

    1) Script Title:
    HV Menu

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

    3) Describe problem:
    I have a menu on a website I created, and while the horizontal position aligns correctly in Firefox/Safari, it's shifted to the left in Internet Explorer. How can I get my menu to align in both browsers? See the link here: http://www.thelaststandparty.com/gentlemen.html

    Thanks!
    -M

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    First, try a strict DOCTYPE.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the advice, but I've added the strict doctype into my doc, and I still see the offset in IE but not in Firefox/Safari. Any other ideas?

    http://www.thelaststandparty.com/gentlemen.html

    Thanks,
    M

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Actually, with or without the DOCTYPE, it looks the same to me but, reversed. Looks OK in IE 6 and off to the left in Opera 9.01 and FF 1.5.0.6

    Additionally, this shift seems to happen at the last moments of load. It looks OK at first, until the page is fully loaded.

    Did you add any code?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This seemed to work here:

    Code:
    var StartLeft=window.opera? -9 : document.body.filters? 0 : -10;
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •