Pages

Wednesday, October 12, 2011

SharePoint 2010 - Page lay-out with three web part zones

Hi,

I created a page lay-out, with the help of my colleague Danny Korf, with three webpartzones:

The code for this page lay-out is the following:


<div style="width:100%;height:100%;">
<div style="position:relative;float:left;width:80%;padding:10px 20px 20px 10px;">
<WebPartPages:WebPartZone id="g_9F6060BB53E14B92ADA9598308474340" runat="server" title="Topzone"></WebPartPages:WebPartZone>
</div>
</div>
<div style="width:100%;height:100%;">
<div style="position:relative;float:left;width:40%;padding:10px 20px 0px 10px;">
<WebPartPages:WebPartZone id="g_6D19E20134854269A80FCDA20AB4640B" runat="server" title="Linker zone"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
</div>
<div style="position:relative;float:left;width:40%;padding:10px 20px 0px 10px;">
<WebPartPages:WebPartZone id="g_DC89797E58FE481EA912950ACCBB2EB0" runat="server" title="Rechter zone"></WebPartPages:WebPartZone>
</div>
</div>

You only have to remove the WebpartPages and add your own webpartzone there.

Hope this can be helpful.

1 replies:

Anonymous said...

Thanks buddy... helped me a lot

Post a Comment