Results 1 to 3 of 3

Thread: alignment of header Urban Grey side menu?

  1. #1
    Join Date
    Feb 2006
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default alignment of header Urban Grey side menu?

    1) Script Title:
    Urban Grey Side Menu

    2) Script URL (on DD):
    http://www.dynamicdrive.com/style/cs...rey_side_menu/

    3) Describe problem:

    I love this side menu!

    I will have 3 maybe 4 seperate headers and lists. I would like the header to be centered over each of the lists. Can I change or eliminate the padding to an align-center in the head section, or should I add a alignment attribute with each header in the body section?

    Thanks for a great site and forum!

    Rmartin

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

    Default

    Hmm if you mean center the entire menu relative to the page, you'd do something like:

    Code:
    .urbangreymenu{
    width: 190px; /*width of menu*/
    margin: 0 auto;
    }
    You can't just center the headers of the menu, since everything is contained within the main "urbangreymenu" DIV, which itself is left aligned on the page by default.
    DD Admin

  3. #3
    Join Date
    Feb 2006
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the quick reply. Yeah, I was hoping to center just the header over the list. Oh well, I quess I'll just pad it towards the left, that way, all the headers (different letter counts) will look uniform.

    Thanks!

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
  •