Results 1 to 7 of 7

Thread: Display the Mouseover Tabs Menu centered

  1. #1
    Join Date
    Apr 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Display the Mouseover Tabs Menu centered

    1) Script Title: :: Mouseover Tabs Menu

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

    3) Describe problem:
    My question is how can both lines of the menu - first line and second line be centered within a <DIV> container an of equal length. I would like to imitate this menu: http://derstandard.at/
    I understand this to be a CSS issue, but tricky because the script displays the elements of a list in one line.

    Thank you.

  2. #2
    Join Date
    Oct 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am not sure if this will help, but it sounds like you're after float.

    Here's a reference I ran across awhile ago, but I have not had to do...what I think you want..which is total centering?

    http://css.maxdesign.com.au/floatutorial/

    Hope it helps in your case.

  3. #3
    Join Date
    Apr 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Floating?

    Thanks for the link.
    The menu goes into a page which is centered on the screen and the menu should be centered within a <DIV> on that page, while all examples of the mouseover tabs menu on the dynamic drive HP are aligned to the left. Due to the fact, that all list <LI> elements of the top line are displayed in line, I did not find a universal method to center the menu on a page. (Except to set a left margin in px or %, which is not really equal on different screen sizes or different menu (first line) elements. I then would have to set the margine-left in dependance of the menu wording length.)
    Maybe the forum members have a universal solution independant of client screen size and menu wording length.
    Ruprecht

  4. #4
    Join Date
    Apr 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Centering - it can be done

    Thank you, trochia, for the link to maxdesign
    http://css.maxdesign.com.au/floatutorial/

    If one follows exactly the instruction, it can be centered as desireds.
    Thank you, trochia

  5. #5
    Join Date
    Oct 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You are very welcome..

    And this is where you have done it?

    >> http://derstandard.at/

  6. #6
    Join Date
    Apr 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Were I intend to do it

    No, the Austrian newspaper "Der Standard" gave the idea for this menu. And dynamic drive had the solution for this. Only the centering had to be resolved. I am working on my own HP www.andromeda.at where I intend to implement this type of menu. At the moment it is not yet visible.
    Thks and rgds,

  7. #7
    Join Date
    Oct 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No Problem...Enjoy :-)

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
  •