none
probleme masterpage RRS feed

  • Question

  • bonjour

     

    voici le code de ma masterpage, je ne comprends pas pourquoi le panel de gauche s'affiche en blanc lorsque je mets un menu dedans alors que le fond est gris

     

    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="ButorMaster.master.cs" Inherits="ButorMaster" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Page sans titre</title>
        <link href="css/BG.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">


            <asp: Panel ID="Panel1" runat="server" Height="20%" Style="z-index: 100; left: 0px;
                position: absolute; top: 0px" Width="100%" BackColor="White">
               <center><div id="pageHeader"><h1><span>LES MANUSCRITS DE MICHEL BUTOR</span></h1></div>&nbsp;</center>
            </asp: Panel>

     

    Il s'agit de ce panel
            <asp: Panel ID="Panel2" runat="server" Height="100%" Style="z-index: 101; left: 0px;
                position: absolute; top: 20%" Width="15%" BackColor="#F7F6F3" BorderColor="#F7F6F3" ForeColor="#F7F6F3">
                <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2"
                    Font-Names="Verdana" Font-Size="1em" ForeColor="#7C6F57" StaticSubMenuIndent="10px"
                    Style="z-index: 100; left: 0px; position: absolute; top: 0px" Height="100%" Width="100%" OnMenuItemClick="Menu1_MenuItemClick" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" />
                    <DynamicMenuStyle BackColor="#F7F6F3" />
                    <StaticSelectedStyle BackColor="#5D7B9D" />
                    <DynamicSelectedStyle BackColor="#5D7B9D" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <Items>
                        <asp:MenuItem NavigateUrl="~/Default.aspx" SeparatorImageUrl="~/img/menu.PNG" Text="Accueil"
                            Value="Accueil" ></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Presentation.aspx" SeparatorImageUrl="~/img/menu.PNG"
                            Text="Pr&#233;sentation du projet" Value="Pr&#233;sentation du projet"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Equipe.aspx" SeparatorImageUrl="~/img/menu.PNG" Text="L'&#233;quipe"
                            Value="L'&#233;quipe"></asp:MenuItem>
                        <asp:MenuItem SeparatorImageUrl="~/img/menu.PNG" Text="Sites sur Michel Butor" Value="Sites sur Michel Butor">
                        </asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Contacts.aspx" SeparatorImageUrl="~/img/menu.PNG" Text="Contacts"
                            Value="Contacts"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Manuscrits.aspx" SeparatorImageUrl="~/img/menu.PNG"
                            Text="Liste des manuscrits" Value="Acc&#232;s &#224; la liste des manuscrits"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Security.aspx" SeparatorImageUrl="~/img/menu.PNG" Text="Connexion"
                            Value="Connexion"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Upload.aspx" SeparatorImageUrl="~/img/menu.PNG" Text="Chargement de fichier"
                            Value="Chargement de fichier"></asp:MenuItem>
                    </Items>
                    <StaticHoverStyle BackColor="#7C6F57" ForeColor="White" />
                </asp:Menu>
               
            </asp: Panel>
            <asp: Panel ID="Panel3" runat="server" Height="80%" Style="z-index: 103; left:20%;
                position: absolute; top: 20%" Width="80%" BackColor="White">
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </asp: Panel>
        </form>
    </body>
    </html>

    merci par avance pour votre aide
    vendredi 10 août 2007 09:59