LuisEstebanValencia
asked on
MasterPasge, make body 100% width
I need a master page with the content to fit all width of the screen, Right now, I havent been able to.
<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.Share Point.WebC ontrols" Assembly="Microsoft.ShareP oint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e 9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.Share Point.Util ities" Assembly="Microsoft.ShareP oint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e 9429c" %>
<%@ Import Namespace="Microsoft.Share Point" %>
<%@ Assembly Name="Microsoft.Web.Comman dUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e 9429c" %>
<%@ Import Namespace="Microsoft.Share Point.Appl icationPag es" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.Share Point.WebP artPages" Assembly="Microsoft.ShareP oint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e 9429c" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole " src="~/_controltemplates/D esignModeC onsole.asc x" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<% $Resources:wss,language_va lue%>" dir="<!$Resources:wss,mult ipages_dir ection_dir _value%>" runat="server" xmlns:o="urn:schemas-micro soft-com:o ffice:offi ce">
<head runat="server">
<meta http-equiv="X-UA-Compatibl e" content="IE=8"/>
<meta name="GENERATOR" content="Microsoft SharePoint"/>
<meta name="progid" content="SharePoint.WebPar tPage.Docu ment"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Expires" content="0">
<SharePoint:RobotsMetaTag runat="server"/>
<!-- This placeholder contains the title of the page. -->
<title id="onetidTitle"><asp:Cont entPlaceHo lder id="PlaceHolderPageTitle" runat="server"/></title>
<SharePoint:CssLink runat="server" Version="4"/>
<SharePoint:Theme runat="server"/>
<SharePoint:ULSClientConfi g runat="server"/>
<!-- This script is used to tell other EcmaScript (JavaScript, JScript) elements that you are using a v4 master page. -->
<script type="text/javascript">
var _fV4UI = true;
</script>
<!-- This control is necessary to register the EcmaScript for many default controls to work. -->
<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server"/>
<!-- This control is used to retrieve and render the CustomJsUrl property from the SPWeb object. -->
<SharePoint:CustomJSUrl runat="server"/>
<SharePoint:SoapDiscoveryL ink runat="server"/>
<!-- This control is used for extensibility to add controls to every page which inherits this masterpage. -->
<SharePoint:DelegateContro l runat="server" ControlId="AdditionalPageH ead" AllowMultipleControls="tru e"/>
<!-- This control is used to interact with EcmaScript (JavaScript, JScript) and the server object model. -->
<SharePoint:SPPageManager runat="server"/>
<!-- This control enables the help menus and tooltips on the Server ribbon. -->
<SharePoint:SPHelpPageComp onent Visible="false" runat="server"/>
<!-- The following placeholders should always reside inside the head tag. -->
<asp:ContentPlaceHolder id="PlaceHolderAdditionalP ageHead" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderBodyAreaCla ss" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaCl ass" runat="server"/>
</head>
<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapp er) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
<form runat="server" onsubmit="if (typeof(_spFormOnSubmitWra pper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}">
<!-- Some placeholders that reside inside the form tag. Hidden from the UI but can be moved to a non-hidden location in the master page if there is a use in your design. -->
<div class="ms-hide">
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderHorizontalN av" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderPageTitleIn TitleArea" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderPageDescrip tion" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarD ataSource" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderCalendarNav igator" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderLeftActions " runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarT op" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderQuickLaunch Bottom" runat="server" />
<!--<asp:ContentPlaceHolde r id="PlaceHolderGlobalNavig ation1" runat="server" /> -->
<!--<asp:ContentPlaceHolde r id="PlaceHolderTitleBreadc rumb1" runat="server" /> -->
<!--<asp:ContentPlaceHolde r id="PlaceHolderGlobalNavig ationSiteM ap1" runat="server" Visible="false" />-->
<asp:ContentPlaceHolder ID="SPNavigation" runat="server" >
<SharePoint:DelegateContro l runat="server" ControlId="PublishingConso le"/>
</asp:ContentPlaceHolder>
</div>
<!-- End placeholders that reside inside the form tag but are hidden. -->
<asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="tr ue" EnableScriptGlobalization= "false" EnableScriptLocalization=" true" />
<WebPartPages:SPWebPartMan ager id="m" runat="Server"/>
<!-- This control shows an error to browsers that do not have EcmaScript (JavaScript, JScript) enabled. -->
<SharePoint:SPNoScript runat="server"/>
<!-- This div contains the Server ribbon including surrounding elements. If you do not want a ribbon on any of your pages, you can remove most of this content. -->
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
<div id="s4-ribboncont">
<SharePoint:SPRibbon
runat="server"
PlaceholderElementId="Ribb onContaine r"
CssFile="">
<!-- This section contains the content on the left side of the Server ribbon. -->
<!-- By default, this contains the Site Actions menu, Breadcrumb menu, and Edit buttons (omitted for simplicity - can be found on v4.master). -->
<SharePoint:SPRibbonPeriph eralConten t
runat="server"
Location="TabRowLeft"
CssClass="ms-siteactionsco ntainer s4-notdlg">
<span class="ms-siteactionsmenu" id="siteactiontd">
<SharePoint:SiteActions runat="server" accesskey="<%$Resources:ws s,tb_SiteA ctions_AK% >" id="SiteActionsMenuMain"
PrefixHtml=""
SuffixHtml=""
MenuNotVisibleHtml="&n bsp;"
>
<CustomTemplate>
<SharePoint:FeatureMenuTem plate runat="server"
FeatureScope="Site"
Location="Microsoft.ShareP oint.Stand ardMenu"
GroupId="SiteActions"
UseShortId="true"
>
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_EditPage"
Text="<%$Resources:wss,sit eactions_e ditpage%>"
Description="<%$Resources: wss,siteac tions_edit pagedescri ptionv4%>"
ImageUrl="/_layouts/images /ActionsEd itPage.png "
MenuGroupId="100"
Sequence="110"
ClientOnClickNavigateUrl=" javascript :ChangeLay outMode(fa lse);"
/>
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_TakeOffline"
Text="<%$Resources:wss,sit eactions_t akeoffline %>"
Description="<%$Resources: wss,siteac tions_take offlinedes cription%> "
ImageUrl="/_layouts/images /connectto spworkspac e32.png"
MenuGroupId="100"
Sequence="120"
/>
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_CreatePage"
Text="<%$Resources:wss,sit eactions_c reatepage% >"
Description="<%$Resources: wss,siteac tions_crea tepagedesc %>"
ImageUrl="/_layouts/images /NewConten tPageHH.pn g"
MenuGroupId="200"
Sequence="210"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="if (LaunchCreateHandler('Page ')) { OpenCreateWebPageDialog('~ site/_layo uts/create webpage.as px') }"
PermissionsString="AddList Items, EditListItems"
PermissionMode="All" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_CreateDocLib"
Text="<%$Resources:wss,sit eactions_c reatedocli b%>"
Description="<%$Resources: wss,siteac tions_crea tedoclibde sc%>"
ImageUrl="/_layouts/images /NewDocLib HH.png"
MenuGroupId="200"
Sequence="220"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="if (LaunchCreateHandler('DocL ib')) { GoToPage('~site/_layouts/n ew.aspx?Fe atureId={0 0bfea71-e7 17-4e80-aa 17-d0c71b3 60101}& ;ListTempl ate=101') }"
PermissionsString="ManageL ists"
PermissionMode="Any"
VisibilityFeatureId="00BFE A71-E717-4 E80-AA17-D 0C71B36010 1" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_CreateSite"
Text="<%$Resources:wss,sit eactions_c reatesite% >"
Description="<%$Resources: wss,siteac tions_crea tesitedesc %>"
ImageUrl="/_layouts/images /newweb32. png"
MenuGroupId="200"
Sequence="230"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="if (LaunchCreateHandler('Site ')) { STSNavigate('~site/_layout s/newsbweb .aspx') }"
PermissionsString="ManageS ubwebs,Vie wFormPages "
PermissionMode="All" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_Create"
Text="<%$Resources:wss,sit eactions_c reate%>"
Description="<%$Resources: wss,siteac tions_crea tedesc%>"
MenuGroupId="200"
Sequence="240"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="if (LaunchCreateHandler('All' )) { STSNavigate('~site/_layout s/create.a spx') }"
PermissionsString="ManageL ists, ManageSubwebs"
PermissionMode="Any" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_ViewAllSiteCo ntents"
Text="<%$Resources:wss,qui klnch_allc ontent%>"
Description="<%$Resources: wss,siteac tions_allc ontentdesc ription%>"
ImageUrl="/_layouts/images /allconten t32.png"
MenuGroupId="300"
Sequence="302"
UseShortId="true"
ClientOnClickNavigateUrl=" ~site/_lay outs/viewl sts.aspx"
PermissionsString="ViewFor mPages"
PermissionMode="Any" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_EditSite"
Text="<%$Resources:wss,sit eactions_e ditsite%>"
Description="<%$Resources: wss,siteac tions_edit sitedescri ption%>"
ImageUrl="/_layouts/images /SharePoin tDesigner3 2.png"
MenuGroupId="300"
Sequence="304"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="Edit InSPD('~si te/',true) ;"
PermissionsString="AddAndC ustomizePa ges"
PermissionMode="Any"
/>
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_SitePermissio ns"
Text="<%$Resources:wss,peo ple_sitepe rmissions% >"
Description="<%$Resources: wss,siteac tions_site permission descriptio nv4%>"
ImageUrl="/_layouts/images /Permissio ns32.png"
MenuGroupId="300"
Sequence="310"
UseShortId="true"
ClientOnClickNavigateUrl=" ~site/_lay outs/user. aspx"
PermissionsString="Enumera tePermissi ons"
PermissionMode="Any" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_Settings"
Text="<%$Resources:wss,set tings_page title%>"
Description="<%$Resources: wss,siteac tions_site settingsde scriptionv 4%>"
ImageUrl="/_layouts/images /settingsI con.png"
MenuGroupId="300"
Sequence="320"
UseShortId="true"
ClientOnClickNavigateUrl=" ~site/_lay outs/setti ngs.aspx"
PermissionsString="Enumera tePermissi ons,Manage Web,Manage Subwebs,Ad dAndCustom izePages,A pplyThemeA ndBorder,M anageAlert s,ManageLi sts,ViewUs ageData"
PermissionMode="Any" />
<SharePoint:MenuItemTempla te runat="server" id="MenuItem_CommitNewUI"
Text="<%$Resources:wss,sit eactions_c ommitnewui %>"
Description="<%$Resources: wss,siteac tions_comm itnewuides cription%> "
ImageUrl="/_layouts/images /visualupg radehh.png "
MenuGroupId="300"
Sequence="330"
UseShortId="true"
ClientOnClickScriptContain ingPrefixe dUrl="GoTo Page('~sit e/_layouts /prjsetng. aspx')"
PermissionsString="ManageW eb"
PermissionMode="Any"
ShowOnlyIfUIVersionConfigu rationEnab led="true" />
</SharePoint:FeatureMenuTe mplate>
</CustomTemplate>
</SharePoint:SiteActions>< /span>
<asp:ContentPlaceHolder id="PlaceHolderGlobalNavig ation" runat="server">
<SharePoint:PopoutMenu
runat="server"
ID="GlobalBreadCrumbNavPop out"
IconUrl="/_layouts/images/ fgimg.png"
IconAlt="<%$Resources:wss, master_bre adcrumbIco nAlt%>"
IconOffsetX=0
IconOffsetY=112
IconWidth=16
IconHeight=16
AnchorCss="s4-breadcrumb-a nchor"
AnchorOpenCss="s4-breadcru mb-anchor- open"
MenuCss="s4-breadcrumb-men u">
<div class="s4-breadcrumb-top">
<asp:Label runat="server" CssClass="s4-breadcrumb-he ader" Text="<%$Resources:wss,mas ter_breadc rumbHeader %>" />
</div>
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadc rumb" runat="server">
<SharePoint:ListSiteMapPat h
runat="server"
SiteMapProviders="SPSiteMa pProvider, SPContentM apProvider "
RenderCurrentNodeAsLink="f alse"
PathSeparator=""
CssClass="s4-breadcrumb"
NodeStyle-CssClass="s4-bre adcrumbNod e"
CurrentNodeStyle-CssClass= "s4-breadc rumbCurren tNode"
RootNodeStyle-CssClass="s4 -breadcrum bRootNode"
NodeImageOffsetX=0
NodeImageOffsetY=353
NodeImageWidth=16
NodeImageHeight=16
NodeImageUrl="/_layouts/im ages/fgimg .png"
RTLNodeImageOffsetX=0
RTLNodeImageOffsetY=376
RTLNodeImageWidth=16
RTLNodeImageHeight=16
RTLNodeImageUrl="/_layouts /images/fg img.png"
HideInteriorRootNodes="tru e"
SkipLinkText="" />
</asp:ContentPlaceHolder>
</SharePoint:PopoutMenu>
<div class="s4-die">
<asp:ContentPlaceHolder id="PlaceHolderGlobalNavig ationSiteM ap" runat="server" Visible="false">
</asp:ContentPlaceHolder>
</div>
</asp:ContentPlaceHolder>
<SharePoint:PageStateActio nButton id="PageStateActionButton" runat="server" Visible="false" />
</SharePoint:SPRibbonPerip heralConte nt>
<!-- This section contains the content on the right side of the Server ribbon. -->
<!-- By default, this contains the Developer Dashboard, Welcome Menu, and Social Networking (omitted for simplicity - can be found on v4.master). -->
<SharePoint:SPRibbonPeriph eralConten t
runat="server"
Location="TabRowRight"
ID="RibbonTabRowRight"
CssClass="s4-trc-container s4-notdlg">
</SharePoint:SPRibbonPerip heralConte nt>
</SharePoint:SPRibbon>
</div>
<!-- This div is used to display notifications on the page. -->
<div id="notificationArea" class="s4-noti"></div>
<!-- This div is used to display the Web Part adder. -->
<div id="WebPartAdderUpdatePane lContainer ">
<asp:UpdatePanel
ID="WebPartAdderUpdatePane l"
UpdateMode="Conditional"
ChildrenAsTriggers="false"
runat="server">
<ContentTemplate>
<WebPartPages:WebPartAdder ID="WebPartAdder" runat="server" />
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="WebPartAdder" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
<!-- Placeholders not visible in v4.master. -->
<div class="ms-hide">
<asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server" Visible="false"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleLeftBo rder" runat="server" Visible="false" />
<div id="onetidPageTitleAreaFra me" class='ms-pagetitleareafra me s4-pagetitle'></div>
<asp:ContentPlaceHolder id="PlaceHolderMiniConsole " runat="server" Visible="false"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleRightM argin" runat="server" Visible="false"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSe parator" runat="server" Visible="false"/>
<asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" Visible="false" />
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarB order" runat="server" Visible="false" />
<asp:ContentPlaceHolder id="PlaceHolderBodyLeftBor der" runat="server" Visible="false" />
<asp:ContentPlaceHolder id="PlaceHolderBodyRightMa rgin" runat="server" />
</div>
<!-- End placeholders not visible in v4.master -->
<div id="s4-workspace">
<div id="s4-bodyContainer">
<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle"></di v>
<!-- The following divs are used for the status area. -->
<div id="s4-statusbarcontainer" >
<div id="pageStatusBar" class="s4-status-s1"></div >
</div>
<div id="s4-mainarea" class="s4-pr s4-widecontentarea">
<!-- The MSO_ContentTable div must surround the content area. The id attribute is required. -->
<div class="s4-ca s4-ca-dlgNoRibbon" id="MSO_ContentTable">
<div class='s4-ba'>
<div class='ms-bodyareacell'>
<div id="MSO_ContentDiv" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"></asp:Conte ntPlaceHol der>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- The FormDigest control must be inside the PlaceHolderFormDigest placeholder. -->
<asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
<SharePoint:FormDigest runat="server"/>
</asp:ContentPlaceHolder>
<!-- These must be inside the form at the bottom in order to handle the back button functionality -->
<input type="text" name="__spText1" title="text" style="display:none;" />
<input type="text" name="__spText2" title="text" style="display:none;" />
</form>
<div id="ms-hide">
<!-- This Placeholder must be outside the form but inside the body -->
<asp:ContentPlaceHolder id="PlaceHolderUtilityCont ent" runat="server">
</asp:ContentPlaceHolder>
</div>
</body>
</html>
master.png
<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.Share
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.Share
<%@ Import Namespace="Microsoft.Share
<%@ Assembly Name="Microsoft.Web.Comman
<%@ Import Namespace="Microsoft.Share
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.Share
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<% $Resources:wss,language_va
<head runat="server">
<meta http-equiv="X-UA-Compatibl
<meta name="GENERATOR" content="Microsoft SharePoint"/>
<meta name="progid" content="SharePoint.WebPar
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Expires" content="0">
<SharePoint:RobotsMetaTag runat="server"/>
<!-- This placeholder contains the title of the page. -->
<title id="onetidTitle"><asp:Cont
<SharePoint:CssLink runat="server" Version="4"/>
<SharePoint:Theme runat="server"/>
<SharePoint:ULSClientConfi
<!-- This script is used to tell other EcmaScript (JavaScript, JScript) elements that you are using a v4 master page. -->
<script type="text/javascript">
var _fV4UI = true;
</script>
<!-- This control is necessary to register the EcmaScript for many default controls to work. -->
<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server"/>
<!-- This control is used to retrieve and render the CustomJsUrl property from the SPWeb object. -->
<SharePoint:CustomJSUrl runat="server"/>
<SharePoint:SoapDiscoveryL
<!-- This control is used for extensibility to add controls to every page which inherits this masterpage. -->
<SharePoint:DelegateContro
<!-- This control is used to interact with EcmaScript (JavaScript, JScript) and the server object model. -->
<SharePoint:SPPageManager runat="server"/>
<!-- This control enables the help menus and tooltips on the Server ribbon. -->
<SharePoint:SPHelpPageComp
<!-- The following placeholders should always reside inside the head tag. -->
<asp:ContentPlaceHolder id="PlaceHolderAdditionalP
<asp:ContentPlaceHolder id="PlaceHolderBodyAreaCla
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaCl
</head>
<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapp
<form runat="server" onsubmit="if (typeof(_spFormOnSubmitWra
<!-- Some placeholders that reside inside the form tag. Hidden from the UI but can be moved to a non-hidden location in the master page if there is a use in your design. -->
<div class="ms-hide">
<asp:ContentPlaceHolder id="PlaceHolderSearchArea"
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderHorizontalN
<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderPageTitleIn
<asp:ContentPlaceHolder id="PlaceHolderPageDescrip
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarD
<asp:ContentPlaceHolder id="PlaceHolderCalendarNav
<asp:ContentPlaceHolder id="PlaceHolderLeftActions
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarT
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar"
<asp:ContentPlaceHolder id="PlaceHolderQuickLaunch
<!--<asp:ContentPlaceHolde
<!--<asp:ContentPlaceHolde
<!--<asp:ContentPlaceHolde
<asp:ContentPlaceHolder ID="SPNavigation" runat="server" >
<SharePoint:DelegateContro
</asp:ContentPlaceHolder>
</div>
<!-- End placeholders that reside inside the form tag but are hidden. -->
<asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="tr
<WebPartPages:SPWebPartMan
<!-- This control shows an error to browsers that do not have EcmaScript (JavaScript, JScript) enabled. -->
<SharePoint:SPNoScript runat="server"/>
<!-- This div contains the Server ribbon including surrounding elements. If you do not want a ribbon on any of your pages, you can remove most of this content. -->
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
<div id="s4-ribboncont">
<SharePoint:SPRibbon
runat="server"
PlaceholderElementId="Ribb
CssFile="">
<!-- This section contains the content on the left side of the Server ribbon. -->
<!-- By default, this contains the Site Actions menu, Breadcrumb menu, and Edit buttons (omitted for simplicity - can be found on v4.master). -->
<SharePoint:SPRibbonPeriph
runat="server"
Location="TabRowLeft"
CssClass="ms-siteactionsco
<span class="ms-siteactionsmenu"
<SharePoint:SiteActions runat="server" accesskey="<%$Resources:ws
PrefixHtml=""
SuffixHtml=""
MenuNotVisibleHtml="&n
>
<CustomTemplate>
<SharePoint:FeatureMenuTem
FeatureScope="Site"
Location="Microsoft.ShareP
GroupId="SiteActions"
UseShortId="true"
>
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="100"
Sequence="110"
ClientOnClickNavigateUrl="
/>
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="100"
Sequence="120"
/>
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="200"
Sequence="210"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="AddList
PermissionMode="All" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="200"
Sequence="220"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="ManageL
PermissionMode="Any"
VisibilityFeatureId="00BFE
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="200"
Sequence="230"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="ManageS
PermissionMode="All" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
MenuGroupId="200"
Sequence="240"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="ManageL
PermissionMode="Any" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,qui
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="300"
Sequence="302"
UseShortId="true"
ClientOnClickNavigateUrl="
PermissionsString="ViewFor
PermissionMode="Any" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="300"
Sequence="304"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="AddAndC
PermissionMode="Any"
/>
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,peo
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="300"
Sequence="310"
UseShortId="true"
ClientOnClickNavigateUrl="
PermissionsString="Enumera
PermissionMode="Any" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,set
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="300"
Sequence="320"
UseShortId="true"
ClientOnClickNavigateUrl="
PermissionsString="Enumera
PermissionMode="Any" />
<SharePoint:MenuItemTempla
Text="<%$Resources:wss,sit
Description="<%$Resources:
ImageUrl="/_layouts/images
MenuGroupId="300"
Sequence="330"
UseShortId="true"
ClientOnClickScriptContain
PermissionsString="ManageW
PermissionMode="Any"
ShowOnlyIfUIVersionConfigu
</SharePoint:FeatureMenuTe
</CustomTemplate>
</SharePoint:SiteActions><
<asp:ContentPlaceHolder id="PlaceHolderGlobalNavig
<SharePoint:PopoutMenu
runat="server"
ID="GlobalBreadCrumbNavPop
IconUrl="/_layouts/images/
IconAlt="<%$Resources:wss,
IconOffsetX=0
IconOffsetY=112
IconWidth=16
IconHeight=16
AnchorCss="s4-breadcrumb-a
AnchorOpenCss="s4-breadcru
MenuCss="s4-breadcrumb-men
<div class="s4-breadcrumb-top">
<asp:Label runat="server" CssClass="s4-breadcrumb-he
</div>
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadc
<SharePoint:ListSiteMapPat
runat="server"
SiteMapProviders="SPSiteMa
RenderCurrentNodeAsLink="f
PathSeparator=""
CssClass="s4-breadcrumb"
NodeStyle-CssClass="s4-bre
CurrentNodeStyle-CssClass=
RootNodeStyle-CssClass="s4
NodeImageOffsetX=0
NodeImageOffsetY=353
NodeImageWidth=16
NodeImageHeight=16
NodeImageUrl="/_layouts/im
RTLNodeImageOffsetX=0
RTLNodeImageOffsetY=376
RTLNodeImageWidth=16
RTLNodeImageHeight=16
RTLNodeImageUrl="/_layouts
HideInteriorRootNodes="tru
SkipLinkText="" />
</asp:ContentPlaceHolder>
</SharePoint:PopoutMenu>
<div class="s4-die">
<asp:ContentPlaceHolder id="PlaceHolderGlobalNavig
</asp:ContentPlaceHolder>
</div>
</asp:ContentPlaceHolder>
<SharePoint:PageStateActio
</SharePoint:SPRibbonPerip
<!-- This section contains the content on the right side of the Server ribbon. -->
<!-- By default, this contains the Developer Dashboard, Welcome Menu, and Social Networking (omitted for simplicity - can be found on v4.master). -->
<SharePoint:SPRibbonPeriph
runat="server"
Location="TabRowRight"
ID="RibbonTabRowRight"
CssClass="s4-trc-container
</SharePoint:SPRibbonPerip
</SharePoint:SPRibbon>
</div>
<!-- This div is used to display notifications on the page. -->
<div id="notificationArea" class="s4-noti"></div>
<!-- This div is used to display the Web Part adder. -->
<div id="WebPartAdderUpdatePane
<asp:UpdatePanel
ID="WebPartAdderUpdatePane
UpdateMode="Conditional"
ChildrenAsTriggers="false"
runat="server">
<ContentTemplate>
<WebPartPages:WebPartAdder
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="WebPartAdder" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
<!-- Placeholders not visible in v4.master. -->
<div class="ms-hide">
<asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server" Visible="false"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleLeftBo
<div id="onetidPageTitleAreaFra
<asp:ContentPlaceHolder id="PlaceHolderMiniConsole
<asp:ContentPlaceHolder id="PlaceHolderTitleRightM
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSe
<asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" Visible="false" />
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarB
<asp:ContentPlaceHolder id="PlaceHolderBodyLeftBor
<asp:ContentPlaceHolder id="PlaceHolderBodyRightMa
</div>
<!-- End placeholders not visible in v4.master -->
<div id="s4-workspace">
<div id="s4-bodyContainer">
<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle"></di
<!-- The following divs are used for the status area. -->
<div id="s4-statusbarcontainer"
<div id="pageStatusBar" class="s4-status-s1"></div
</div>
<div id="s4-mainarea" class="s4-pr s4-widecontentarea">
<!-- The MSO_ContentTable div must surround the content area. The id attribute is required. -->
<div class="s4-ca s4-ca-dlgNoRibbon" id="MSO_ContentTable">
<div class='s4-ba'>
<div class='ms-bodyareacell'>
<div id="MSO_ContentDiv" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"></asp:Conte
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- The FormDigest control must be inside the PlaceHolderFormDigest placeholder. -->
<asp:ContentPlaceHolder id="PlaceHolderFormDigest"
<SharePoint:FormDigest runat="server"/>
</asp:ContentPlaceHolder>
<!-- These must be inside the form at the bottom in order to handle the back button functionality -->
<input type="text" name="__spText1" title="text" style="display:none;" />
<input type="text" name="__spText2" title="text" style="display:none;" />
</form>
<div id="ms-hide">
<!-- This Placeholder must be outside the form but inside the body -->
<asp:ContentPlaceHolder id="PlaceHolderUtilityCont
</asp:ContentPlaceHolder>
</div>
</body>
</html>
master.png
is this page the default.master or other master page ,i think its not
ASKER
its not the default, its a starter masterpage from codeplex
ASKER
I dont know whats going on, but its always the same problem, using sharepoint designer I created a webpartpage, then I set that page as HOME, and after doing that, I got the error again.
I just want that my homepage to be a specific web part page layout, the default one does not work for me
I just want that my homepage to be a specific web part page layout, the default one does not work for me
so its inherit the width from the master page , i think you should change the default.master page or the core.css
ASKER
I dont want to touch the core files from sharepoint, there must be another way
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.