sharepoint站点CSS设置

时间:2010-11-15 15:53:42

标签: sharepoint-2007

我左侧有一个sharepoint siteActions,右侧有我的链接标签。一个是td标签,另一个是div标签。

我无法理解代码。任何人都可以告诉我如何更新相同的内容。以下是我的母版页中的代码。

<SharePoint:SiteActions runat="server" AccessKey="<%$Resources:wss,tb_SiteActions_AK%>" 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>


<div class="sharepointLogin">
  <!--Authentication for Authors only-->
   <table summary="site links" cellpadding="0" cellspacing="0" >
    <tr>
     <td class="ms-globallinks hide" style="left: 0px; top: 0px; width: 69px">
     <SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/></td>
     <td class="ms-globallinks">
     <SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/></td>
     <td class="ms-globallinks">
     <wssuc:Welcome id="explitLogout" runat="server"/></td>
    </tr>
   </table>
  </div>

我怎么把它放到同一行......?

1 个答案:

答案 0 :(得分:1)

<SharePoint:MenuItemTemplate runat="server" id="<ID Menu Item"
    Text="<Text to appear on Menu Item"
    Description="<Descriprion Text>"
    ImageUrl="<<URL Of image to be displayed at left of the menu>>"
    MenuGroupId="<<Menu Group ID to group similar items>>"
    Sequence="<<order in which te menu item should apear in its group>>"
    UseShortId="true"
    ClientOnClickNavigateUrl="<<Navigation URL>>"
    PermissionsString=" <<Group name to which the menu item should be visible eg. EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData>>"
    PermissionMode="Any" />