我们如何在asp.net中指定最小的压光机尺寸 [英] how can we specify minimum size of calender in asp.net
本文介绍了我们如何在asp.net中指定最小的压光机尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨先生
我想使用最小尺寸的压延机,并在文本框的末尾使用压光机.我尝试了很多次,但是无法调整压光机的高度和高度.请帮助我将日历显示为最小尺寸.
感谢和问候
Nandakumar.S
hi sir
i want use the calender with minimum size with end of text box. i tried so many times but cannot resize the calender with and height. please help me to display the calender as minimum size.
thanks and regards
Nandakumar.S
推荐答案
转到.aspx页的代码视图,然后将< asp:calander>放在
内
< div class ="DivMinHeight"> YOURGRIDHERE</div>
如图所示,将DivMinHeight应用到div并在.aspx文档中的某处为该类创建样式:)
go to the code view of the .aspx page, and place the <asp:calander> part inside a
<div class="DivMinHeight" "> YOURGRIDHERE </div>
Apply the DivMinHeight to the div as shown and create a style for this class somewhere in the .aspx document :)
<style type="text/css">
DivMinHeight{
min-height: 100px;
min-width: 75%;
max-width: 100%;
}
</style>
给定calander width ="100%"或height ="100%",它将自动将其包装为div的大小-因此具有最小的width/height,如果您想要最大的height或width:)
give the calander width="100%" or height="100%" and it will wrap itself to the size of the div - therefore having a min width/height and if u want a max height or width :)
这篇关于我们如何在asp.net中指定最小的压光机尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文