CSS:Sharepoint asp.net菜单UI漏掉了

时间:2011-09-15 01:42:19

标签: css sharepoint

layout breaking

我发现Sharepoint asp.net下拉菜单没有遵循除IE7之外的每个浏览器应该使用的样式。

在上图中,您会看到按钮文字显示在按钮图标下方而不是旁边;奇怪的是,从不同页面查看的相同菜单将正确显示。

我查看了母版页代码并且无法弄清楚会导致这种情况的原因,欢迎使用任何指针。

如果有人愿意阅读所有内容,那么整个母版页代码都在这里:

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

<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<%@ Register TagPrefix="SPIntranet" TagName="Ticker" Src="~/_controltemplates/SPIntranetTicker.ascx" %>
<%@ Register TagPrefix="SPIntranet" TagName="Banner" Src="~/_controltemplates/SPIntranetBanner.ascx" %>

<HTML dir="<%$Resources:wss,multipages_direction_dir_value%>" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-dir="ltr">
<HEAD runat="server">

    <META Name="GENERATOR" Content="Microsoft SharePoint">
    <META Name="progid" Content="SharePoint.WebPartPage.Document">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
    <META HTTP-EQUIV="Expires" content="0">
    <SharePoint:RobotsMetaTag runat="server"/>
    <Title ID=onetidTitle><asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/></Title>
    <SharePoint:ScriptLink language="javascript" name="core.js" Defer="true" runat="server"/>
    <SharePoint:CustomJSUrl runat="server"/>
    <SharePoint:SoapDiscoveryLink runat="server"/>
    <SharePoint:CssLink runat="server"/>
    <SharePoint:Theme runat="server"/>

    <!-- SPECIFY STYLE SHEET -->
    <link rel="stylesheet" type="text/css" href="/Style Library/Custom CSS/OlympicIntranet.css" />
<!--    <style>
    #mp1_0_8_Anchor{
    display:inline-block;
}

    #zz10_ID_PersonalizePage{
    margin-left:60px;
}
    </style>-->

    <asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">
    </asp:ContentPlaceHolder>
    <SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>



</HEAD>
<BODY scroll="yes" onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">
<form class="body" runat="server" onsubmit="return _spFormOnSubmitWrapper();"><asp:ScriptManager ID="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" />
<WebPartPages:SPWebPartManager id="m" runat="Server"/>

<table class="divMainContainer" align="center" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <!-- Site Logo -->
        <td>

            <table width="100%"cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td class="divOlympicLogo">
                        <a href="\">
                            <span>
                                <SharePoint:SiteLogoImage id="onetidHeadbnnr0" LogoImageUrl="/_layouts/images/titlegraphic.gif" runat="server"/>
                            </span>
                        </a>
                    </td>
                    <!-- Quick Link Spacer -->
                    <td class="divOlympicTopQuickLinkCorner">
                        <span></span>
                    </td>
                    <!-- Quick Links -->                        
                    <td class="divQuickLink">
                        <a id="aBrainDump" href="https://www.braindump.co.nz/olympic" class="icon"><span>
                            <img src="/images/brain_dump_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >
                    <td class="divQuickLink">
                        <a id="aCRM" href="http://crm/" class="icon"><span>
                            <img src="/images/crm_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >
                    <td class="divQuickLink">
                        <a id="aexp" href="http://intranet/expenseclaim/" class="icon"><span>
                            <img src="/images/expense_claim_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >
                    <td class="divQuickLink">
                        <a id="aGoAdmin" href="http://goadmin/" class="icon"><span>
                            <img src="/images/go_admin_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >                  
                    <td class="divQuickLink">
                        <a id="aLeave" href="http://intranet/Default.aspx?tabid=668" class="icon"><span>
                            <img src="/images/leave_request_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >      

                    <td class="divQuickLink">
                        <a id="aReport" href="http://intranet/Default.aspx?tabid=588" class="icon"><span>
                            <img src="/images/report_centre_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >
                    <td class="divQuickLink">
                        <a id="aTimeSheet" href="http://intranet/goweb/ielogin.htm" class="icon"><span>
                            <img src="/images/time_sheet_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >
                    <td class="divQuickLink">
                        <a id="aTFS" href="http://tfs" class="icon"><span>
                            <img src="/images/tfs_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >

                    <td class="divQuickLink">
                        <a id="awiki" href="http://wikione/Wiki%20Pages/Home.aspx" class="icon"><span>
                            <img src="/images/wikione_icon.png" class="imgIcon"></img>
                        </span></a>
                    </td >


                </tr>
            </table>
        </td>
    </tr>

    <tr>
    <asp:ContentPlaceHolder ID="WSSDesignConsole" runat="server">
        <wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server"/>
    </asp:ContentPlaceHolder>
    <!-- Publishing console control -->
    <asp:ContentPlaceHolder ID="SPNavigation" runat="server">
        <td>        
        <SharePoint:DelegateControl runat="server" ControlId="PublishingConsole"
           PrefixHtml="&lt;tr&gt;&lt;td colspan=&quot;4&quot; id=&quot;mpdmconsole&quot; class=&quot;ms-consolemptablerow&quot;&gt;"
           SuffixHtml="&lt;/td&gt;&lt;/tr&gt;"></SharePoint:DelegateControl>
        </td>
    </asp:ContentPlaceHolder>

    </tr>
    <tr>
        <td style="padding-bottom:5px;">

        <!-- Tabs Menu -->
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="divOlympicTabLeft" align="left">
                    <SharePoint:AspMenu
                      ID="TopNavigationMenu"
                      Runat="server"
                      DataSourceID="topSiteMap"
                      EnableViewState="false"
                      AccessKey="<%$Resources:wss,navigation_accesskey%>"
                      Orientation="Horizontal"
                      StaticDisplayLevels="2"
                      MaximumDynamicDisplayLevels="1"
                      DynamicHorizontalOffset="0"
                      StaticPopoutImageUrl="/_layouts/images/menudark.gif"
                      StaticPopoutImageTextFormatString=""
                      DynamicHoverStyle-BackColor="#CBE3F0"
                      SkipLinkText=""
                      StaticSubMenuIndent="0"
                      CssClass="ms-topNavContainer"><StaticMenuStyle/><StaticMenuItemStyle CssClass="ms-topnav" ItemSpacing="0px"/><StaticSelectedStyle CssClass="ms-topnavselected" /><StaticHoverStyle CssClass="ms-topNavHover" /><DynamicMenuStyle  BackColor="#F2F3F4" BorderColor="#A7B4CE" BorderWidth="1px"/><DynamicMenuItemStyle CssClass="ms-topNavFlyOuts"/><DynamicHoverStyle CssClass="ms-topNavFlyOutsHover"/><DynamicSelectedStyle CssClass="ms-topNavFlyOutsSelected"/></SharePoint:AspMenu>
                    <SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource"><Template_Controls>
                            <asp:SiteMapDataSource
                              ShowStartingNode="False"
                              SiteMapProvider="SPNavigationProvider"
                              id="topSiteMap"
                              runat="server"
                              StartingNodeUrl="sid:1002"/>
                        </Template_Controls></SharePoint:DelegateControl>
                </td>
                <td>

                </td>
                <td class="IntranetSiteAction" align="right">
                <SharePoint:SiteActions runat="server" id="SiteActionsMenuMain"
                    PrefixHtml="&lt;div&gt;&lt;div&gt;"
                    SuffixHtml="&lt;/div&gt;&lt;/div&gt;"
                    MenuNotVisibleHtml="&amp;nbsp;"><CustomTemplate>
                    <SharePoint:FeatureMenuTemplate runat="server" FeatureScope="Site" Location="Microsoft.SharePoint.StandardMenu" GroupId="SiteActions" UseShortId="true">

                        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create" Text="<%$Resources:wss,viewlsts_pagetitle_create%>" Description="<%$Resources:wss,siteactions_createdescription%>" ImageUrl="/_layouts/images/Actionscreate.gif" MenuGroupId="100" Sequence="100" UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/create.aspx" PermissionsString="ManageLists, ManageSubwebs" PermissionMode="Any" />
                        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage" Text="<%$Resources:wss,siteactions_editpage%>" Description="<%$Resources:wss,siteactions_editpagedescription%>" ImageUrl="/_layouts/images/ActionsEditPage.gif" MenuGroupId="100" Sequence="200" ClientOnClickNavigateUrl="javascript:MSOLayout_ChangeLayoutMode(false);" />
                        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings" Text="<%$Resources:wss,settings_pagetitle%>" Description="<%$Resources:wss,siteactions_sitesettingsdescription%>" ImageUrl="/_layouts/images/ActionsSettings.gif" MenuGroupId="100" Sequence="300" UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/settings.aspx" PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData" PermissionMode="Any" />
                    </SharePoint:FeatureMenuTemplate>

</CustomTemplate></SharePoint:SiteActions>
                </td>
            </tr>
        </table>
        </td>       
    </tr>
    <tr>
        <td align="center" width="100%" class="style1">
            <SPIntranet:Banner id="Banner" runat="server"></SPIntranet:Banner >
        </td>
    </tr>
    <tr>
        <td class="tickerBackground">
            <table width="100%" style="padding-left:10px; vertical-align:top;" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="left">
                        <img src="/images/whats_today_hdr.png" style="background-color:transparent; vertical-align:bottom;"></img>
                    </td>
                    <td style="max-width:300px;padding-left:0px;" valign="middle">                  
                    <script src="http://sp2010dev:90/Style Library/jquery/jquery-1.6.4.min.js" type="text/javascript"></script>
                    <script src="http://sp2010dev:90/Style Library/jquery/jquery.marquee.js" type="text/javascript"></script>
                    <script type="text/javascript">
                    jQuery(document).ready(function() {
                        jQuery('marquee').marquee();
                    });
                    </script>

                    <marquee style="width:310px;margin-left:0px;" scrollamount="1">test</marquee>

                        <!--<SPIntranet:Ticker id="Ticker" runat="server"></SPIntranet:Ticker>-->
                    </td>
                    <td class="tickerSearchDivider" style="width:25px;">
                        <span></span>               
                    </td>
                    <td class="powerSearchHeading" style="background-color:transparent;">
                        <img src="/images/power_search_hdr.png" style="background-color:transparent;"></img>
                    </td>
                    <td class="searchBackGround" align="right" padding-left="5px">
                        <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
                            <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
                        </asp:ContentPlaceHolder>               
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr style="background-color:#FFFFFF">
    <td>
    <table width="100%;" height="10px;">
    <tr>
    <td>
    <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
    <asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/> &nbsp;
</asp:ContentPlaceHolder>

    </td>
    <td>
    <!--- --- ---  Top Toolbar --- --- --->
    <!-- Global nav, including breadcrumbs and global links -->
    <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server">
    <span id="TurnOnAccessibility" style="display:none">
        <a href="#" class="ms-skip" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();return false;">
        <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
    </span>

    <A href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-skip" AccessKey="<%$Resources:wss,maincontent_accesskey%>" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></A>

    <span id="TurnOffAccessibility" style="display:none">
        <a href="#" class="ms-acclink" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();return false;">
        <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
    </span>

   <!-- Global Breadcrumb -->

    </asp:ContentPlaceHolder>   

    </td>
    <td align="right" >
    <!-- Welcome Message-->
        <table cellpadding="0" cellspacing="0" height=100% class="ms-globalright" style="background-color:#FFFFFF">
          <tr>
              <td valign="middle" class="ms-globallinks" style="padding-left:3px; padding-right:6px;">
              <SharePoint:DelegateControl runat="server" ControlId="GlobalSiteLink0"/>
              </td>
          <td valign="middle" class="ms-globallinks">
            <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">
            </wssuc:Welcome>
          </td>
          <td style="padding-left:1px;padding-right:3px;" class="ms-globallinks">|</td>
              <td valign="middle" class="ms-globallinks">
                <table cellspacing="0" cellpadding="0">
                 <tr>
                  <td class="ms-globallinks">
                    <SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/></td>
                  <td class="ms-globallinks">
                    <SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/></td>
                 </tr>
                </table>
              </td>
              <td valign="middle" class="ms-globallinks">&nbsp;
                <a href="javascript:TopHelpButtonClick('NavBarHelpHome')" AccessKey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"><img align='absmiddle' border=0 src="/_layouts/images/helpicon.gif" alt="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"></a>
              </td>
              </tr>
            </table>
    </td>
    </tr>
    </table>
    </td>

    </tr>
    <tr>
        <td>
            <table id="MainContentsTable" class="mainContentsTable" width="100%">
                <tr>
                    <td class="mainTableLeftColumn">                        
                        <!--- --- ---  Left Navigation Bar --- --- --->
                        <!-- Left Nav bar data source -->
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />

                        <!-- Area above left nav bar; Used to place profile pic for My Site -->
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server"/>

                        <!-- Calendar date picker -->
                        <asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />

                        <!-- Quick Launch -->
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
                            <!-- View All Site Content -->
                            <label class="ms-hidden">
                            <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,quiklnch_pagetitle%>" EncodeMethod="HtmlEncode"/></label>
                            <Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></SharePoint:SPSecurityTrimmedControl>

                            <!-- Quick Launch Items -->
                            <Sharepoint:SPNavigationManager
                            id="QuickLaunchNavigationManager"
                            runat="server"
                            QuickLaunchControlId="QuickLaunchMenu"
                            ContainedControl="QuickLaunch"
                            EnableViewState="false"><SharePoint:DelegateControl runat="server" ControlId="QuickLaunchDataSource"><Template_Controls>
                                    <asp:SiteMapDataSource SiteMapProvider="SPNavigationProvider" ShowStartingNode="False" id="QuickLaunchSiteMap" StartingNodeUrl="sid:1025" runat="server" />
                                 </Template_Controls>
                                </SharePoint:DelegateControl><SharePoint:AspMenu id="QuickLaunchMenu" DataSourceId="QuickLaunchSiteMap" runat="server" Orientation="Vertical" StaticDisplayLevels="2" ItemWrap="true" MaximumDynamicDisplayLevels="0" StaticSubMenuIndent="0" SkipLinkText=""><LevelMenuItemStyles><asp:menuitemstyle CssClass="ms-navheader" /><asp:menuitemstyle CssClass="ms-navitem" />
                                    </LevelMenuItemStyles><LevelSubMenuStyles><asp:submenustyle CssClass="ms-navSubMenu1" /><asp:submenustyle CssClass="ms-navSubMenu2" />
                                    </LevelSubMenuStyles><LevelSelectedStyles><asp:menuitemstyle CssClass="ms-selectednavheader" /><asp:menuitemstyle CssClass="ms-selectednav" />
                                    </LevelSelectedStyles>
                                </SharePoint:AspMenu></Sharepoint:SPNavigationManager>

                            <!--- Tree View --->    
                            <Sharepoint:SPNavigationManager
                                id="TreeViewNavigationManager"
                                runat="server"
                                ContainedControl="TreeView">
                            <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchy" Text="<%$Resources:wss,treeview_header%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>" />
                            <SharePoint:SPHierarchyDataSourceControl runat="server" id="TreeViewDataSource" RootContextObject="Web" IncludeDiscussionFolders="true" />
                            <SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScroll" onscroll="javascript:_spRecordScrollPositions(this);" Style="overflow: auto;height: 400px;width: 150px; ">
                            <SharePoint:SPTreeView id="WebTreeView" runat="server" ShowLines="false" DataSourceId="TreeViewDataSource" ExpandDepth="0" SelectedNodeStyle-CssClass="ms-tvselected" NodeStyle-CssClass="ms-navitem" NodeStyle-HorizontalPadding="2" SkipLinkText="" NodeIndent="12" ExpandImageUrl="/_layouts/images/tvplus.gif" CollapseImageUrl="/_layouts/images/tvminus.gif" NoExpandImageUrl="/_layouts/images/tvblank.gif">
                            </SharePoint:SPTreeView>
                            </SharePoint:SPRememberScroll>
                            </Sharepoint:SPNavigationManager>

                            <!-- Recycle Bin -->
                            <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems"/>
                        </asp:ContentPlaceHolder>

                        <!-- Left nav Actions area -->
                        <asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server"/>
                        <!--- --- ---  End of Left Navigation Bar --- --- --->
                    </td>                   
                    <td class="mainTableMiddleColumn">                      
                        <!--- --- ---  Page Content --- --- --->
                        <!-- In the wrapper DIV, the ID "MSO_ContentDiv" places the Web Part Tool Pane directly to the right of the content area --> 
                        <div id="MSO_ContentDiv" runat="server">
                            <A name="mainContent"></A>
                            <!-- Page Description -->
                            <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
                            <!-- Main content area -->
                            <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server">
                            </asp:ContentPlaceHolder>
                        </div>
                        <!--- --- ---  End of Page Content --- --- --->

                    </td>

                    <td class="mainTableRightColumn">
                        <asp:ContentPlaceHolder id="PlaceHolderRight" runat="server">
                        </asp:ContentPlaceHolder>
                    </td>
                </tr>

            </table>
        </td>
    </tr>
    <tr>
    <td id="footer" class="footer">

    </td>
    </tr>
    <tr>
        <td id="padding" height="100%">
        </td>
    </tr>

</table>




<input type="text" name="__spDummyText1" style="display:none;" size=1/>
<input type="text" name="__spDummyText2" style="display:none;" size=1/>
</form>

<!--- --- ---  Leave the following placeholders beneath all page content --- --- --->
<!-- Footer -->
<asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
<!-- Used to add body styles to the page header -->
<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server"/>
<!-- Used to add styles to the page header -->
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server"/>

</div>
<!--- --- ---  Hidden Placeholders --- --- --->
<asp:Panel visible="false" runat="server" BackColor="White">

<!-- PLACE UNUSED CONTENT PLACEHOLDERS HERE -->
<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
    <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle">
    <SharePoint:ProjectProperty Property="Title" runat="server" />
    </SharePoint:SPLinkButton>
</asp:ContentPlaceHolder>




<!--- --- ---  Horizontal Top Navigation Bar --- --- --->
<!-- Container for top bar -->
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
    <!-- Top bar-->
    <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">

    </asp:ContentPlaceHolder>

    <!-- Site Actions Menu -->

</asp:ContentPlaceHolder>
<!--- --- ---  End of Horizontal Top Navigation Bar --- --- --->


<!--- --- --- Edit Consoles --- --- --->
<!-- Edit console that appears in page Edit mode -->
<!--- --- --- End of Edit Consoles --- --- --->


<!--- --- --- Page Header --- --- --->
<!-- Page Image -->
<asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server"/>

<!--- Breadcrumb nav on sub pages --->

<!--- Page Title -->
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />

<!-- Mini Console - provides page level commands such as the supplementary buttons for Site Map -->
<asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server"/>
<!--- --- --- End of Page Header --- --- --->


<!-- Form Digest Security Control -->
<asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
    <SharePoint:FormDigest runat="server" />
</asp:ContentPlaceHolder>


<!--- --- Placeholders used in default.master that you will likely not use --- --->
<!-- Area between page image and page title -->
<asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server"/>
<!-- Area between page name and right page border -->
<asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server"/>
<!-- Area between top nav bar and page content -->
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server"/>
<!-- Sets a width of the left nav bar -->
<asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server"><IMG SRC="/_layouts/images/blank.gif" width=138 height=1 alt=""></asp:ContentPlaceholder>
<!-- Area between left nav bar and page content -->
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server"></asp:ContentPlaceHolder>
<!-- Area between left nav and content -->
<asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server"/>
<!-- Area between content and right page border -->
<asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server"/>

<!-- Title -->
<asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server">
    <asp:SiteMapPath SiteMapProvider="SPSiteMapProvider" id="GlobalNavigationSiteMap" RenderCurrentNodeAsLink="true" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/>
</asp:ContentPlaceHolder>

<!-- Help Icon -->
</asp:Panel>
<!--- --- ---  End of Hidden Placeholders --- --- --->



</BODY>
</HTML>

0 个答案:

没有答案