0
목록 패딩/마진 크로스 브라우저 막무가내 : 다음 Is there a way to extend background color of unordered list items to go behind bullets?더 정렬되지 않은 난 그냥이 멋진 도움을받은
내가 다시 정렬되지 않은 목록에 랩 텍스트를 정렬 할 텍스트 들여 쓰기 속성을 다루고있었습니다,하지만 IE와 FF가 레이아웃을 정말 엉망으로 만들 정도로 다르게 패딩을 처리하는 것처럼 보입니다. 어떤 해결책? (좋은)
FF Good http://mbira.me/images/ff_good.jpg
IE (나쁜)
파이어 폭스 alt text http://mbira.me/images/ie_bad.jpg
목록에 대한 CSS :
는이 문제를 해결하기 위해.registerbox ul{
}
.registerbox ul li.light{
list-style-type:disc;
list-style-position:inside;
margin:2px 0px 2px -20px;
padding:2px 30px;
background-color:#FFFFB0;
text-indent:-12px;
}
.registerbox ul li.dark{
list-style-type:disc;
list-style-position:inside;
margin:2px 0px 2px -20px;
padding:0px 30px;
text-indent:-12px;
}
html/css를 게시하는 것이 도움이됩니다. 또한 IE의 버전은 무엇입니까? IE6/7 * cringes * http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug – wsanville
CSS가 IE 7과 8에 게시 한 경우이 방법이 유용 할 수 있습니다. – Joel
(A) IE 용으로 별도의 스타일 시트를 지정하고 다른 들여 쓰기를 설정하거나 (B) 글 머리표를 사용하지 않고 수행하십시오. –