html - IE 8 ordered list type a fix -


i have list , using

<ol type="a">  <li> apple </li> <li> mango </li> <li> banana </li>  </ol> 

now in chrome ok

a. apple b. mango c. banana  

but in ie 8

a. apple a. mango  a. banana  

can please tell me how fix ie 8

this problem of haslayout, problem specific styling issue. ok lets solve this,

applying css display:list-item <li> element , list-style-type: lower-alpha <ol> element.

css

ol{     list-style-type: lower-alpha; } li{     display:list-item; } 

if not work above code should apply padding-left , margin-left <ol> container.

css

ol {    margin-left: 0;    padding: 20px;    list-style-type: lower-alpha; } 

this 2 you, hope help!


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -