简体   繁体   English

Sharepoint 2010自定义文本布局

[英]Sharepoint 2010 custom text layout

I'd like to make my custom page layout with two columns. 我想用两列制作自定义页面布局。 The right column in the default text layout (also two columns) has a size of 33.3% and I'd like to have a fix width of 250px (in the right column)! 默认文本布局中的右列(也是两列)的大小为33.3%,我希望固定宽度为250px(在右列中)! How can I do this? 我怎样才能做到这一点?

I use Sharepoint 2010 with a team site template. 我将Sharepoint 2010与团队网站模板一起使用。

Thanks 谢谢

If you have SharePoint 2010 Server you can use the publishing feature and create custom "layout pages". 如果您拥有SharePoint 2010 Server,则可以使用发布功能并创建自定义“布局页面”。 There are plenty tutorials on the web. 网上有很多教程。

If you only have the free SharePoint 2010 Foundation you will not have access to the "Publishing feature". 如果您只有免费的SharePoint 2010 Foundation,则将无权访问“发布功能”。 The pages in the Foundation version are typically stored in "Site Pages" library or in an other wiki library. Foundation版本中的页面通常存储在“站点页面”库或其他Wiki库中。 You can change the layout by using the "Text Layout" button in the ribbon. 您可以使用功能区中的“文本布局”按钮来更改布局。

If you are a more advanced user and know how to use Visual Studio can also change these layouts by code. 如果您是高级用户,并且知道如何使用Visual Studio,则还可以通过代码更改这些布局。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM