我的导航栏上有 6 个链接,并且确实设法在导航栏中附加了一个徽标(这是一个 jpeg),但是我的链接位于徽标的顶部。我将如何将我的链接分开,以便我的徽标独立。
HTML
<html>
<head>
<title>TITLE HERE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a name="top"></a>
<table align="center" cellpadding="0" cellspacing="0" border="0" height="100%">
<tr><new class="right" colspan="2"> </td></tr>
<tr>
<!--Top Navigation Links (top horizontal navigation bar)-->
<td id="nav1" colspan="2"><a href="index.html">Home</a>
<a href="LINK1.html" class="nav1">Name</a>
<a href="LINK2.html">Name</a>
<a href="LINK3.html" class="nav1">Name</a>
<a href="LINK4.html">Name</a>
<a href="LINK5.html" class="nav1">Name</a>
</tr>
<tr><td id="head" colspan="2"></td></tr>
</td>
</tr>
<td id="main" valign="right">
和 CSS
td#nav1 {
height: 66px;
background: #000000 url('images/logo.jpg') no-repeat top left;
}