Centering the Horizontal CSSMenu?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Centering the Horizontal CSSMenu?

Post by wesyah234 »

My menu items do not fill up the entire width of the page, and thus they are hugging the left side of the page, leaving empty space on the right.

I'm having trouble changing the CSS to get the entire menu to be centered.

Please help! 

Thanks!
amygdela

Re: Centering the Horizontal CSSMenu?

Post by amygdela »

it's not realy nice HTML, but it works.. add a before the menu in your template, and a after it 0)
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Re: Centering the Horizontal CSSMenu?

Post by wesyah234 »

Thanks for the suggestion, but it doesn't work.

I tried:

   
       
        {cms_module module='cssmenu'}
       
     

and

   
       
        {cms_module module='cssmenu'}
       
     


as well as:

   
       
          {cms_module module='cssmenu'}
       
     


I'm thinking something in the CSS is forcing it to the left...
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Re: Centering the Horizontal CSSMenu?

Post by wesyah234 »

bump ( any ideas ? )
eddieburroughs

Re: Centering the Horizontal CSSMenu?

Post by eddieburroughs »

I am interested in this as well.

Is there are particular css or template that we have to put the in?

Thanks for the help!
Eddie
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Centering the Horizontal CSSMenu?

Post by tsw »

url would be nice...

but basically you set text-align:center for the parent container..

and I think that has been deprecated ;)
Post Reply

Return to “CMSMS Core”