母版页的content1保持固定 [英] content1 of master page keeping fixed

查看:93
本文介绍了母版页的content1保持固定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#,asp.net,VS 2005

我已经使用了母版page1 ...

有什么方法可以将content1固定在一个位置上吗?即说左上角...

任何解决方案请

问候
karan

I am using C#,asp.net,VS 2005

I have used master page1 ...

Is there any way to keep the content1 fixed at one position?i.e., say top left corner...

Any solution please

regards
karan

推荐答案

有什么方法可以将content1固定在一个位置上?例如,说左上角...
是的.

您所需要做的就是正确设计页面.如果要修复绝对定位,可以使用绝对定位.否则,只需使用表格设计并将内容页面放置在给定位置即可显示.

尝试!
Is there any way to keep the content1 fixed at one position?i.e., say top left corner...
Yes.

All you need is to design your page properly. You can use absolute positioning, if you want to fix it. Or else, just use the table designing and put the content page at a given position to appear.

Try!


同意Mewara先生,但建议使用<div></div>而不是表格.

通过runat = server
Agree with Mr Mewara, but would suggest using <div></div> rather than a table.

call it via runat=server


这篇关于母版页的content1保持固定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆