Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/entity-framework/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 列表框默认文本的大小似乎与下拉列表文本的大小不同_Css - Fatal编程技术网

Css 列表框默认文本的大小似乎与下拉列表文本的大小不同

Css 列表框默认文本的大小似乎与下拉列表文本的大小不同,css,Css,请看一看 字段集、图例、.TLabel、.TComboBox、.select、.select\u选项{ 字体:10px Arial; 保证金:0; 填充:0; } 选项 标签您需要设置标签的class属性 您需要设置标记的class属性 把这个 fieldset, legend, .input_text, .input_integer, .input_float, .input_mandatory, .input_invalid, .input_warning, .TLabel, .TC

请看一看

字段集、图例、.TLabel、.TComboBox、.select、.select\u选项{
字体:10px Arial;
保证金:0;
填充:0;
}

选项

标签
您需要设置标签的class属性


您需要设置
标记的class属性

把这个

fieldset,  legend, .input_text, .input_integer, .input_float, .input_mandatory,  .input_invalid, .input_warning, .TLabel, .TCheckBox, .TListBox,  .TComboBox, .TPanel, .TGroupBox, .TRadioGroup, .TextEditBox,  .TDatePicker, .datePicker, .TDatePicker_container,  .datePicker_container, .radio_button, .select, .select_option {
    font: 10px Arial;
    margin: 0;
    padding: 0;
}
就说这个,

fieldset,  legend, .input_text, .input_integer, .input_float, .input_mandatory,  .input_invalid, .input_warning, .TLabel, .TCheckBox, .TListBox,  .TComboBox, .TPanel, .TGroupBox, .TRadioGroup, .TextEditBox,  .TDatePicker, .datePicker, .TDatePicker_container,  .datePicker_container, .radio_button, .select, .select_option {
    font: 10px Arial;
    margin: 0;
    padding: 0;
}

+1和答案。耶!!这一切都是从我刚接触CSS时开始的,当时我不确定是将类放在DIV还是控件上(实际上还不是很清楚…+1和答案)。耶!!这一切都是从我刚接触CSS时开始的,当时我还不确定是将类放在DIV还是控件上(实际上还不太清楚……)问题开始“请看一看这个非常简短的示例”(三年前我接受了一个答案:-)Lolx的Upvote:-)“到jsfiddle.net的链接必须附带代码”-这是新的:-)问题开始于“请看一看这个非常简短的例子”(三年前我接受了一个答案:-)对Lolx的投票:-)“到JSFIDLE.net的链接必须附带代码”-这是新的:-)