有没有办法去除devexpress下拉控件和它的div标签之间的填充?

时间:2016-03-09 06:10:03

标签: javascript html css asp.net-mvc-4 devexpress

我有以下图片来演示j$('path, tspan').mouseover(function(e) { j$(this).children().css('font-size', 15);//reset to default size font j$(e.target).css('font-size', newSize); }); 中的Devexpress下拉控件,该控件具有引导程序设置,如下面的代码片段所示

<div>

devexpress control with bootstrap

正如您在图像中看到的那样,控件和div之间存在细微的差距,我尝试设置 <div style="padding:0px;"> @Html.DevExpress().ComboBoxFor(m => m.FruitList, settings => { settings.Name = "FruitList"; settings.Properties.ClientInstanceName = "FruitList"; settings.Properties.TextField = "FruitName"; settings.Properties.ValueField = "Id"; settings.Properties.ValueType = typeof(int); settings.ControlStyle.CssClass = "form-control"; } ).BindList(_model.GetFruitList()).GetHtml() <div> ,但它不起作用。如何摆脱Devexpress控件和padding:0px;之间的填充?

0 个答案:

没有答案