Results 1 to 3 of 3

Thread: AnyLink Drop Down Menu Question

  1. #1
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation AnyLink Drop Down Menu Question

    Does anyone know of a way to center the dropdown text links? They're left aligned.


    Thanks,
    DRW

  2. #2
    Join Date
    Sep 2004
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's sort of a hack, but you can do it. Make the first element of the array a table tag, for example:

    Code:
    menu1[0] = "<table border=0 cellpadding=0...>"
    You can then add table rows and cells to the remaining elements.

    Code:
    menu1[1] = "<tr><td align="center"><a href="http://www.something.com">link text</a></td></tr>"
    That has worked for me in the past. Be sure to use the final element to close the table tag.

    Best of luck.
    bfisher

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

    Default

    If you're referring to centering the text inside the drop down menu, simply add a text-align attribute to the CSS file:

    #dropmenudiv{
    text-align: center;
    "
    "
    }

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
  •