문제

jQuery 및 jQuery UI 탭을 사용하여 사이트를 개발하고 있습니다. 어떤 이유로, 내 탭 (정렬되지 않은 목록)은 OS X의 Firefox 3을 제외한 모든 브라우저 (지금까지 테스트)에 총알이 표시되고 있습니다. Safari OS X, FF 3 Windows 및 Google Chindows (즉, 모든 구석에 큰 스택에있는 디브 ... 그러나 그것은 또 다른 이야기입니다).

좋아, 그것의 실제 고기에. 내가 목록 스타일 유형을 적용한 것 같습니다. Firebug가 불량 총알이있는 Li 요소에 대해보고 한 내용은 다음과 같습니다.

font-family "Trebuchet MS",Trebuchet,Verdana,Helvetica,Arial,sans-serif
font-size   12px
font-weight bold 
font-style  normal
color   #000000
text-transform  none
text-decoration none
letter-spacing  normal
word-spacing    normal
line-height 14.4px
text-align  center
vertical-align  baseline
direction   ltr
Background
background-color    transparent
background-image    url(http://agrifuels-dev/media/css/tab.png)
background-repeat   no-repeat  
background-position 0 -50px
background-attachment   scroll
opacity 1
Box Model
width   64px
height  18px
top auto
right   auto
bottom  auto
left    auto
margin-top  0
margin-right    0
margin-bottom   0
margin-left 0
padding-top 6px
padding-right   0
padding-bottom  1px
padding-left    10px
border-top-width    0
border-right-width  0
border-bottom-width 0
border-left-width   0
border-top-color    #000000
border-right-color  #000000
border-bottom-color #000000
border-left-color   #000000
border-top-style    none
border-right-style  none
border-bottom-style none
border-left-style   none
Layout
position    static
display block
visibility  visible
z-index auto
overflow-x  visible
overflow-y  visible
white-space nowrap
clip    auto
float   none
clear   none
-moz-box-sizing content-box
Other
cursor  text
list-style-image    none
list-style-position outside
list-style-type disc
marker-offset   auto
0
86
offset
margin
0
0
0
1
border
0
0
0
0
padding
0
0
0
0
84 x 25 
clientLeft  0
clientTop   0
contentEditable   "inherit"
type   ""
value   -1
getBoundingClientRect  getBoundingClientRect()
getClientRects  getClientRects()
getElementsByClassName  getElementsByClassName()
scrollIntoView  scrollIntoView()
attributes  NamedNodeMap
baseURI   "http://agrifuels-dev/qcs/management_responsibility#"
childNodes  [a management...fragment-2]
className   ""
clientHeight  25
clientWidth   84
dir   ""
firstChild   a management...fragment-2
id    ""
innerHTML    "<a href="#fragment-2"><span>Closed</span></a>"
lang    ""
lastChild    a management...fragment-2
localName   "LI"
namespaceURI    null
nextSibling    "\n "
nodeName    "LI"
nodeType  1
nodeValue   null
offsetHeight   25
offsetLeft   86
offsetParent   div.tab_container
offsetTop    0
offsetWidth   84
ownerDocument   Document management_responsibility#
parentNode   ul.policy_page_tabs
prefix    null
previousSibling    "\n "
scrollHeight    25
scrollLeft    0
scrollTop    0
scrollWidth    84
spellcheck    false
style    CSSStyleDeclaration
tabIndex    -1
tagName    "LI"
textContent     "Closed"
title    ""

그만큼 list-style-type: disc 내 프로젝트의 일부가 아닌 "html.css"에서 온 것 같습니다. 브라우저의 CSS 페이지일까요?

도움이 되었습니까?

해결책

LI 태그가 포함 된 OL/UL 태그에 목록 스타일을 추가 했습니까? 때때로 브라우저는 개별 목록 요소가 아닌 목록에 목록 스타일 속성을 배치해야합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top