Results 1 to 4 of 4

Thread: Newbie Horizontal hover menu

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

    Default Newbie Horizontal hover menu

    I'm a newbie at this so please be patient if my question is very basic.
    I am trying to use the CSS Based Horizontal Hover Menu. My question is what's the easiest way to get it to be centered? It always shows starting on the far left going accross. Thanks in advance.

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

    Default

    Well I figured it out.

    I changed this part of the coding:

    .hovermenu ul li a{
    padding: 2px 0.5em;
    text-decoration: none;
    float: left;

    I changed it to

    float: center;

  3. #3
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Saulius View Post
    I'm a newbie at this so please be patient if my question is very basic.
    I am trying to use the CSS Based Horizontal Hover Menu. My question is what's the easiest way to get it to be centered? It always shows starting on the far left going accross. Thanks in advance.
    Saulius, I just want to know if you are my brother, who I havn,t seen for more than 15 years?

  4. #4
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    There is no such thing as "float: center;"

    when a browser looks at it, it is probebly replacing it with "float: inherit;"

    as a test - try deleting the line all together and it will display exactly the same as your "float: 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
  •