2015-01-22, 03:18 PM
Hello!
My website: http://sdw.nn.pe/
I've included an image to help explain the issue; please use that as a reference.
[attachment=33566]
How would I successfully center my navigation bar? I've tried out so many different methods from several different websites yet only one has somewhat worked for me.
I'm using the following CSS to center it:
Now, it looks nice and centered, but it's more to the right than it is to the left (thus not correctly centered) and on the right side of the navigation bar there is a line at the end of the bar (see circle 4) which is not on the other side (see circle 3).
EDIT:
I've just discovered what I believe is one culprit of the issue. The <ul id="menu"> (non-visible navigation bar) bar does not reach out to both ends of the site; just the right end, which would make sense as to why the bar was going more to the right. How would I increase the non-visible navigation bar's size (<ul id="menu">) and fix that line on the end of the right visible navigation bar?
I've included another attachment to clear up any confusion.
[attachment=33567]
My website: http://sdw.nn.pe/
I've included an image to help explain the issue; please use that as a reference.
[attachment=33566]
How would I successfully center my navigation bar? I've tried out so many different methods from several different websites yet only one has somewhat worked for me.
I'm using the following CSS to center it:
.topmenu ul {
display: table;
float: none;
margin: 0 auto;
}
Now, it looks nice and centered, but it's more to the right than it is to the left (thus not correctly centered) and on the right side of the navigation bar there is a line at the end of the bar (see circle 4) which is not on the other side (see circle 3).
EDIT:
I've just discovered what I believe is one culprit of the issue. The <ul id="menu"> (non-visible navigation bar) bar does not reach out to both ends of the site; just the right end, which would make sense as to why the bar was going more to the right. How would I increase the non-visible navigation bar's size (<ul id="menu">) and fix that line on the end of the right visible navigation bar?
I've included another attachment to clear up any confusion.
[attachment=33567]