MyBB Community Forums

Full Version: <center> the div class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
The code you posted here didn't work.
Have a look here:
http://www.dynamicdrive.com/dynamicindex...thmenu.htm
This is the tutorial that I'm following.
See if I have to change the style or something like that.
Thanks for telling me.
Did you delete all the coding you had then replace it with the one he posted here?
No.
I edited it with my way.
But it is on the left side.
If you want it in the center you will need to edit the CSS.
Jeez....you guys are way off.

Just go into admincp. Edit the theme's global.css.

Find the menu class and change the align from right to center.
(2009-10-17, 01:47 AM)labrocca Wrote: [ -> ]Jeez....you guys are way off.

Just go into admincp. Edit the theme's global.css.

Find the menu class and change the align from right to center.
I wondered if that would work. Thanks for tip.
This is the problem... The menu class isn't into the global.css
This menu have his proper css and it won't change to center.
It should be .menu in the global.css sheet.

And if it's the one in your footer...

http://computerandstuff.co.cc/forums/cac...global.css

Then it's there and you're just blind.

Quote:.menu ul {
color: #000000;
font-weight: bold;
text-align: right;
padding: 4px;
}

Change the right to center. You don't need those <center> tags at all.
Got it.
But the menu I'm trying to put in center have his css in other place. I had to upload the css...
http://www.dynamicdrive.com/dynamicindex...thmenu.htm
Pages: 1 2