Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/74.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/148.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
Html 水平列表项目不一致_Html_Css_List - Fatal编程技术网

Html 水平列表项目不一致

Html 水平列表项目不一致,html,css,list,Html,Css,List,有人能告诉我为什么我的列表项中有3个与第一个列表项不对齐吗 不同浏览器的垂直描述似乎有所不同 此处的完整代码和css:指定页边距顶部:0对于第二个和第三个框旁边的单选按钮,选择 通过在css中做一些更改,检查此演示:,它现在是跨浏览器的 新增/更新如下: .select_style { height:23px; line-height:23px; } .junior_rank #one { position:relative; width:753px;

有人能告诉我为什么我的列表项中有3个与第一个列表项不对齐吗

不同浏览器的垂直描述似乎有所不同


此处的完整代码和css:

指定
页边距顶部:0
对于第二个和第三个
框旁边的单选按钮,选择


通过在css中做一些更改,检查此演示:

,它现在是跨浏览器的

新增/更新如下:

.select_style {
    height:23px;
    line-height:23px;
}

.junior_rank #one  {
    position:relative;
    width:753px;
    left: 118px;
        /*Removed top property*/    
}

#groupranking_label {
    position: relative;
    left: 23px;
    width: 100px;
    top: 17px; /*updated*/
}

我根本无法查看您的列表。它们对我来说是看不见的(在Firefox、Safari和Chrome上验证)请确保你的例子清楚地说明了问题。你是在说选择框的列表吗?我已经尽我所能复制了这一点,供任何对这一点比较熟悉的人使用,请把例子简化为一个-,现在可能有很多东西只会分散注意力。