topic description
I encountered a bottleneck in programming the front-end HTML of the billing master
sources of topics and their own ideas
when I was compiling its navigation bar, I didn"t know how to make up its position and how to center it.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< html lang= "zh-cn" >
< head >
<meta charset="UTF-8">
<title>indexHTML</title>
<link rel="stylesheet"href="css/style,css">
< / head >
< body >
< nav id= "nav" >
<section class="center">
<h1 class="logo"></h1>
<ul class="link">
<li class="active"><a href="-sharp-sharp-sharp"></a></li>
<li><a href=-sharp-sharp-sharp"></a></li>
<li><a href="-sharp-sharp-sharp"></a></li>
<li><a href="-sharp-sharp-sharp"></a></li>
<li><a href="-sharp-sharp-sharp"></a></li>
<li><a href="-sharp-sharp-sharp"></a><li>
</ul>
< / section >
< / nav >
< header > header < / header >
< section > body < / section >
< footer > footer < / footer >
< / body >
< / html >
what result do you expect? What is the error message actually seen?
what I expect is that it is in the middle. But it leans to the left.