首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

使用masterpage生成的页面,怎么控制其中contentplaceholder的大小

2012-01-07 
使用masterpage生成的页面,如何控制其中contentplaceholder的大小问题:我有个masterpage,里面有两个conten

使用masterpage生成的页面,如何控制其中contentplaceholder的大小
问题:
我有个masterpage,里面有两个contentplaceholder,用masterpage生成页面后,如果我往其中一个contentplaceholder1里放入控件,当我调整里面的控件大小时,contentplaceholder2就会自动变形,然后页面就乱了。

masterpage本来是要方便开发的,为什么里面的contentplaceholder不能固定宽度?

[解决办法]
contentplaceholder本身只是一个占位符,定位还要靠html标签

热点排行