< DIV>标记不允许AutoCompleteExtender的autoDrop向下显示完全 [英] <DIV> tag not allowing AutoCompleteExtender's autoDrop down to appear fully

查看:63
本文介绍了< DIV>标记不允许AutoCompleteExtender的autoDrop向下显示完全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨团队,


我搜索了很多,但找不到任何东西,所以我在这里发帖。


我我在主页中的用户控件中使用AutoCompleteExtender。页面布局由DIV标签设计。我在该用户控件中的代码有点像..

----------------------------

Hi Team,

I searched a lot on this but could not find anything, so I am posting it here.

I am using an AutoCompleteExtender in a user control which is in a master page. The page layout is designed byDIV tags. My code in that user control is somehting like..
----------------------------

展开 | 选择 | Wrap | 行号

推荐答案

您能否发布应用于< div>的CSS样式?再谈这里?
Could you please post the CSS styles applied to the <div>''s you''re talking about here?


感谢您回复好友!


当然,我们走吧!

--- --------------------

< style type =" text / css">

。 completionListElement

{


可见性:0;

保证金:0px!重要的;


背景颜色:白色;

颜色:黑色;


边框:实心1px灰色;

光标:手;


text-align:left;

list-style-type:none;


font-family:Verdana;

字体大小:11px;


填充:0;

z-index:20;


}


.listItem


{


填充:1px;

z-index:20;


背景颜色:白色;

}


.highlightedListItem


{


颜色:黑色;

FONT-WEIGHT:粗体;

背景颜色:#D7E4F3;


填充:1px; z-index:20; < br $>
}

< / style>

--------------------- ---


再次感谢,

Manik
Thanks for responding buddy!

Sure, here we go!
-----------------------
<style type="text/css">
.completionListElement
{

visibility : 0;
margin : 0px! important;

background-color : white;
color : black;

border : solid 1px gray;
cursor : hand;

text-align : left;
list-style-type : none;

font-family : Verdana;
font-size: 11px;

padding : 0;
z-index : 20;

}

.listItem

{

padding: 1px;
z-index: 20;

background-color: white;
}

.highlightedListItem

{

color : black;
FONT-WEIGHT: bold;
background-color: #D7E4F3;

padding : 1px;z-index : 20;
}
</style>
------------------------

Thanks again,
Manik


对不起我误解了它。 DIV标签没有CSS,DIV标签如下......


< div style =" float:left; border:px#c0c0c0;背景色:#CCCCCC;宽度:100%;">


< div style =" float:left;">< / div>



< div style =" float:right;身高:60px;溢出:隐藏;宽度:360px;">

< div style =" float:right;身高:35px;填充:2px 5px 10px 1px;"> < / div>


继续..
Sorry I misunderstood it. No CSS for DIV tags, DIV tags are as following..


<div style="float: left; border: px #c0c0c0; background-color:#cccccc; width:100%;">

<div style="float: left;"></div>


<div style="float: right; height: 60px; overflow: hidden; width: 360px;">
<div style="float: right; height: 35px; padding: 2px 5px 10px 1px;"> </div>

and goes on..


这篇关于&LT; DIV&GT;标记不允许AutoCompleteExtender的autoDrop向下显示完全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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