Tab Menu / Posts /

Force menu not to center

I build the Tab Menu with width:80%. I found it is always in the center of the containing block. How can I force it to the left or to the right?
Jim  11 years ago   viewed: 10562    

1 Answer


For the alignment of the whole menu that does not occupy the entire width of its containing block, it will by default be centered. You can alter it afterwards by editing the downloaded CSS file: change the following centering specification:

ul#tabmenu { margin: 0 auto; }

to left alignment:
ul#tabmenu { margin: 0; }

or to right alignment:
ul#tabmenu { margin-left: auto; margin-right: 0;}

Milo   11 years ago


Your name*
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question:
    • If your question is related to the Tab Menu, click:

      Ask new question: Tab Menu
    • Otherwise navigate to one of the following forum categories, and post your question there.