Bonsoir!
j'ai le menu suivant :et voici son css:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <div id="menu"> <asp:Menu ID="Menu1" runat="server" EnableViewState="False" Orientation="Horizontal" IncludeStyleBlock="false"> <Items> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Accueil"/> <asp:MenuItem NavigateUrl="Aboutus.aspx" Text="Présentation"/> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Nos Activités"/> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Nos Réalisations"/> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Vous"/> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Contact"/> </Items> </asp:Menu> </div>Mon problème est que le lien sélectionné n'affiche pas l'image attendu bref rien ne s'affiche Il n'y a pour ainsi dire aucune différence entre un lien sélectionné et un lien non sélectionné. Comment faire pour remédier à ce problème?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 #menu{ margin:0 auto; width:750px; } #Menu1 { list-style:none; display:block; float:left; background:#f4f4ec; border-bottom:4px solid #b42929; } #Menu1 ul { list-style:none;margin:0;padding:0; } #Menu1 a { display:block; float:left; color:#44494f; text-transform:uppercase; font-size:11px; font-weight:bold; line-height:35px; border:solid #cbc9c9; border-width:1px 1px 0 1px; text-decoration:none; padding:0 2.545em; } #Menu1 a.static {text-decoration:none; } #Menu1 a.static.selected { display:block; float:left; background:url(../Images/arpmenu.jpg) repeat-x; color:#fff; text-transform:uppercase; font-size:11px; font-weight:bold; line-height:35px; border:solid #e1e1d3; border-width:1px 1px 0 0; text-decoration:none; padding:0 25px; } #Menu1 a.static.highlighted {color:#b42929;}
merci d'avance!
Partager