How do I center my menu?
I´m have trouble with centering my menu and header. I used a tutorial on YouTube to make the menu and I´m quite new at this, so I don´t really know what to do. This is the coding I´ve used:
@charset "utf-8";
#navbar {
width:660px;
}
#navbar #holder {
height:59px;
border-bottom:1px solid #000;
width:630px;
padding-left:25px;
}
#navbar #holder ul {
list-style:none;
margin:0;
padding:0;
}
#navbar #holder ul li a {
text-decoration:none;
float:left;
margin-right:5px;
font-family:"Courier New", Courier, monospace;
color:#000;
border:1px solid #000;
border-bottom:none;
padding:20px;
width:75px;
text-align:center;
display:block;
background:#69F;
}
#navbar #holder ul li a:hover {
background:#F90;
color:#FFF;
text-shadow:1px 1px 1px #000;
}
#holder ul li a#onlink {
background:#FFF;
color:#000;
border-bottom:1px solid #FFF;
}
#holder ul li a#onlink:hover {
background:#FFF;
color:#69F;
text-shadow:1px 1px 1px #000;
}
@charset "utf-8";
#navbar {
width:660px;
}
#navbar #holder {
height:59px;
border-bottom:1px solid #000;
width:630px;
padding-left:25px;
}
#navbar #holder ul {
list-style:none;
margin:0;
padding:0;
}
#navbar #holder ul li a {
text-decoration:none;
float:left;
margin-right:5px;
font-family:"Courier New", Courier, monospace;
color:#000;
border:1px solid #000;
border-bottom:none;
padding:20px;
width:75px;
text-align:center;
display:block;
background:#69F;
}
#navbar #holder ul li a:hover {
background:#F90;
color:#FFF;
text-shadow:1px 1px 1px #000;
}
#holder ul li a#onlink {
background:#FFF;
color:#000;
border-bottom:1px solid #FFF;
}
#holder ul li a#onlink:hover {
background:#FFF;
color:#69F;
text-shadow:1px 1px 1px #000;
}