如何在asp.net中使用div设计母版页? [英] How to design master page using div in asp.net ?
本文介绍了如何在asp.net中使用div设计母版页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Friends
如何在asp.net中使用division而不是table来设计母版页?到目前为止我用的是表,所以请指导我如何使用...
谢谢
Vikyas
解决方案
这取决于你的要求,你想要什么类型的设计然后以这种方式进行设计。对于信息共享,有些链接会在那里进行审核
how-to-create-master-pages-with-aspnet-4 / [ ^ ]
http://odetocode.com/articles/450.aspx [ ^ ]
我将根据需要设计你的视角
步骤1:使用嵌套div并尝试制作设计的伪代码
Step2:将Section划分为Header,Section and Footer
步骤3:现在使用< div >
< div > 标题< / div >
< div > 内容< / div >
< div > 页脚< / div >
< / div >
步骤:你可以根据你的要求在里面添加嵌套的div,就像桌子一样
假设tr为div
谢谢s
一些链接:
< a href =http://mrbool.com/understanding- -d-tag-in-html / 25263>
请参阅下面的你必须这样做
..
< div 样式 = align:left >
< div > image < / div >
< div > login < / div >
< div > 其他< / div >
< / div >
..
这将是单行仅...
结论:左对齐主要div所有其他内容将来是同一行
..
Thnaks
Hello Friends
How to design master page using division instead of table in asp.net ? I used table so far so guide me how to use briefly...
Thanks
Vikyas
解决方案
It's depends your requirement, what type of design you want then make a design on that way. For information sharing some link make review there
how-to-create-master-pages-with-aspnet-4/[^]
http://odetocode.com/articles/450.aspx[^]
i will design as my perspective you can modify your own as needed
Step1: Use the nested div and try to make pseudo code of the design
Step2: Divide the Section as Header,Section And Footer
Step 3:now use<div> <div>header</div> <div>content</div> <div>footer</div> </div>
Step: you can add nested div inside as per your requirement and same it is like table
assume tr as div
thanks
some Links:
<a href="http://mrbool.com/understanding-the-div-tag-in-html/25263">
See YOu Have To Do As Below
..
<div Style="align:left"> <div>image</div> <div>login</div> <div>someother</div> </div>
..
by this it will Come In single row only...
Conclusion:Align Left the main div All the other content Will come is Same row
..
Thnaks
这篇关于如何在asp.net中使用div设计母版页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文