我有以下图片来演示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>
正如您在图像中看到的那样,控件和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;
之间的填充?