Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 11 Months, 2 Weeks ago Need Nav Bar Centered !
#1
Solved: 8 Years, 11 Months, 2 Weeks ago Information 
This user has been denied support. This user has been denied support.
I need my nav bar centered!

Im not to good at CSS. So im hoping someone can help me i tried alot but nothing has worked yet.

Need the links in the center!
[Image: 30j5n38.png]


Website: GamingGeneral.net

Thanks in advance!

Anyone?!!!!!!!!!!!!!!!!!!!!!
#2
Solved: 8 Years, 11 Months, 2 Weeks ago
You could edit the ul.menu in your global.css line 156

And change
right: 5%;

and add a left value to 5% also.


Old code:

ul.menu {
    color: #CCCCCC;
    font-size: 12px;
    position: absolute;
    right: 15px;
    text-align: center;
    top: 23px;
    z-index: 2;
}


New code:

ul.menu {
    color: #CCCCCC;
    font-size: 12px;
    position: absolute;
    right: 5%;
    left: 5%;
    text-align: center;
    top: 23px;
    z-index: 2;
}

Does it work? Yep.
Is it the correct way to do it? Probably not, something like margin-left: auto; and margin-right: auto; probably is but that didn't work.

Shy
#3
Solved: 8 Years, 11 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
Worked great thanks alot man!
#4
Solved: 8 Years, 11 Months, 2 Weeks ago
margin:0 auto;

comes to mind


Forum Jump:


Users browsing this thread: 1 Guest(s)