更新时间:2023-12-02 17:28:28
您是自己创建母版页的吗?
您可能使用了项目模板,而母版页正在使用CSS来控制页面的主要内容区域.
您可以从头开始创建新的母版页,也可以根据自己的喜好更改CSS.创建一个新的母版页并在aspx标头中使用它是很少的工作.新的母版页将需要具有与当前母版页面相同的内容占位符.
干杯.
Did you create the master page yourself?
It''s likely that you used a project template and the master page is using CSS to control the main content area of the page.
Either start with a new master page from scratch or alter the CSS to your liking. It is very little work to create a new master page and use that in your aspx header. The new master page will need to have the same content placeholders you have in your current one.
Cheers.
100%的正文高度不会使您的页面高度变为100%,正文的高度将取决于您页面的内容.如果您要转到页面高度的100%,请使用< div>标签和javascript.
100% height of body doesn''t make your page height 100%, the body height will be upto your page contents. If you want to go by 100% of page height then design your master page with using <div> tag and javascript.