使用asp.net设计母版页 [英] Designing master page using asp.net
问题描述
先生,我正在使用asp.net 3.5和c#
我正在设计母版页,但我没有得到左边内容和正文主体之间的空间内容。
我想要身体和页脚之间的空间但是没有得到这个,是吗?
请参阅下面的设计,请给出帮助我的例子
------------------------------ -------------------------------------------------- -
公司徽标......即标题..........................................................................................
---------------------------------------------- -----------------------------------
主页产品服务客户关于我们LogOut
------------------------------------------ ---------------------------------------
我想要小这些地区的差距
-------------------------------------- ---------- ----------------------------------
||
首页||
||
||
||机身主要内容
产品||
||
服务||
||
客户||
||
关于我们||
||
||
-------------------------------------------- ----------------------------------------
我想要这里的差距很小
--------------------------------------- ---------------------------------------------
页脚
查看这些
CSS填充 [ ^ ]
CSS保证金 [ ^ ]
我想要小差距
只需放一个固定高度的div或table行:比如10px。
创建一个div,将它放在CSS文件中,这样你就可以在所有页面上调用它。
Sir , I am using asp.net 3.5 with c#
I am desigining the master page but I am not getting the space between left content and the body main content.
I want the space between body and footer but not getting this, can you?
See my Design below, please give ne example which helps me
---------------------------------------------------------------------------------
Company logo…… that is header ………………………………………………………………………………
---------------------------------------------------------------------------------
Home Products Services Clients About Us LogOut
---------------------------------------------------------------------------------
I want Small Gap in these area
----------------------------------------------------------------------------------
||
Home ||
||
||
|| Body main content
Products ||
||
Services ||
||
Clients ||
||
About Us ||
||
||
------------------------------------------------------------------------------------
I Want small gap here
------------------------------------------------------------------------------------
Footer
Check these
CSS Padding[^]
CSS Margin[^]
I Want small gap here
Just put a div or a table row of fixed height: say 10px.
Create a div, put it in the CSS file so you can call it on all pages.
这篇关于使用asp.net设计母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!