겹쳐서 표시된 항목 위에 보이는 두꺼운 경계 막대가있는 가로 메뉴를 만들려고합니다. 그러나 어떤 이유로 파이어 폭스와 크롬의 바 오른쪽 끝에 약간의 간격이 있습니다. 이상하게도, IE는 그 차이가없이 그것을 보여줍니다. 방화 광케이블은 이러한 차이에 대한 어떠한 이유도 나타내지 않습니다.html/css의 이상한 테두리 간격
간단한 div를 사용해 보았지만 여전히 나타납니다. div로만 단일 HTML 샘플로 추출했습니다.
누구든지 이것을 설명하고 그 차이를 없애는 방법을 알려줄 수 있습니까?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Weird border spacing</title>
<style type="text/css">
div.outer
{
border-top: dotted 1px lime;
margin: 10px;
}
div.outer div
{
display: inline;
margin: 0;
padding: 0 12px;
border-left: solid 1px silver;
border-top: solid 3px red;
}
</style>
</head>
<body>
<div class="outer">
<div>First</div>
<div>Second</div>
<div>Third</div>
</div>
</body>
</html>
감사합니다. – netgirlk