HTML
<div id="menu">
<a href="#">Commissions</a>
<a href="#">Business Setup</a>
<a href="#">Administrator</a>
<a href="#">Content Management</a>
<a href="#">Inventory</a>
<a href="#">Communications Tools</a>
<a href="#">Genealogy</a>
<a href="#">Reports</a>
</div>
CSS
#menu {
width: 1000px;
float: left;
font-size: 9pt;
text-align: justify;
}
#menu a {
text-decoration: none;
color: #0066cc;
font-size: 9pt;
}
#menu a:hover {
text-decoration: underline;
}
我想让每个链接都具有整个宽度。我试图用 text-align: justify 来实现。但它不起作用。我怎样才能做到这一点?