我有這個在我的CSS:如何使用CSS從無序列表中刪除項目符號?
.MainMenu
{
position: absolute;
top:105px;
left:15px;
background-color: #67E300;
color:White;
border-style:double;
border-color:White;
list-style-type:none;
}
而這個母版的內部:
<div class="MainMenu">
<uc2:MainMenu ID="MainMenu1" runat="server" />
</div>
最後這段代碼在用戶控件的MainMenu內:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MainMenu.ascx.cs" Inherits="LoCompro.UserControls.MainMenu" %>
<ul>
<li>Inico</li>
<li>Navegar Por Categoria</li>
<li>Navegar Por Marca</li>
<li>Buscar</li>
</ul>
編輯(忘了問這個問題,哈哈):
使用該代碼不刪除項目符號列表。我不想要任何子彈,因爲我想模擬一個菜單。
謝謝你們。 :d
你的功夫很強。 :3 – 2009-08-22 19:20:05
是不是代碼福? – 2009-08-22 19:28:03