Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am interested in finding out detailed information about all the elements within the SharePoint master page v4 to start, in order to learn how to create my own while still retaining key functionality.

I have been unable to find something that breaksdown all the ids and classes and what they end up becoming. Master page elements and coreV4.css styles would be most helpful.

Anyone know where I can find this type of info, or resource for this.

Appreciate as always.

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Starter Master Pages is a great resource for learning about SharePoint 2010 master pages and a good starting point for SharePoint 2010 branding projects

From _starter_publishing.master

<!-- s4-ca is the main body div -->
    <div class="s4-ca">

        <div class="s4-notdlg">
            <!-- links for I like it and Tags and Notes -->
            <!-- use ControlID="GlobalSiteLink3" for larger icons or remove this line entirely for no icons -->
            <SharePoint:DelegateControl ControlId="GlobalSiteLink3-mini" Scope="Farm" runat="server"/>
        </div>

        <div class="s4-notdlg">
            <!-- page title -->
            <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />          
        </div>

        <!-- place a table around this to handle funky markup in _Layouts/areacachesettings.aspx (if you want) -->
        <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server" />

        <div>
            <!-- page content loads from the pages and pages layout -->
            <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"/>
        </div>
    </div>

Starter master pages for SharePoint 2010 could be found here

share|improve this answer
    
This will help a lot. Thanks! Appreciate it! –  Justin May 1 '13 at 11:02
add comment

To make a custom master page I recommend you to start from the V4. Make sure that you don't delete any content place holder from the original master. If you don't want to use some of them on your custom master you should hide it through CSS.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.