日期:2014-05-19  浏览次数:20456 次

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

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

------解决方案--------------------
contentplaceholder本身只是一个占位符,定位还要靠html标签