如何在ASP.NET 2008中以百分比设置表的高度 [英] How to set height of table in percentage in ASP.NET 2008
本文介绍了如何在ASP.NET 2008中以百分比设置表的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,我正在使用visual studio 2008.我正面临一个问题。在表中,当我声明宽度百分比时,它的工作正常。但是当我以百分比给出高度时它不起作用。因此我必须使用px。以百分比给出一张桌子的高度是可行的。
我尝试了什么:
高度%不起作用..如果我在px声明高度,如高度=500px
sir, i am using visual studio 2008. i am facing a problem. In table when i declare width in percentage its work fine. but when i give height in percentage its not working. therefore i have to using px. it is posible to give height of a table in percentage.
What I have tried:
height in % is not working.. its working if i am declare height in px like height="500px"
推荐答案
这是一个HTML / CSS问题,与ASP.NET无关
这个 [ ^ ]可以帮助你。
This is an HTML/CSS issue, nothing to do with ASP.NET
This [^] may help you.
这篇关于如何在ASP.NET 2008中以百分比设置表的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文