Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between upper-alpha and upper-latin in the css list-style?

I was wondering what's the difference between upper-alpha and upper-latin in the css list-style ?

like image 751
Pacerier Avatar asked Apr 28 '11 08:04

Pacerier


People also ask

What is the difference between list style and list style type in CSS?

List-style is simply the shorthand version for styling your list. List style type specifically refers to the indicator to the left such as the ever popular none, or disc, decimal, etc.

What is lower alpha?

probabely the expression "lower-alpha" is showing the listing points in the language in which the system is set. This is not necessarily Latin. But to display the listing points, regardless of the language setting in Latin is probably provided "lower-latin".

What is the use of list style type in CSS?

The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.

How do you style a list of numbers in CSS?

If you want to number items in order, you can use the <ol> (ordered list) tag. But it is kind of hard to style those list numbers in CSS. There is an easier way to create a number styled list of item using the :before pseudo element along with counter properties.


2 Answers

The main difference is that upper-latin isn't supported by IE6 or IE7 whereas upper-alpha is.

Other than that, there doesn't seem to be any difference at all. They are described identically in the offical W3C spec.

For browser compatibility, see Quirksmode.

like image 57
Spudley Avatar answered Oct 20 '22 16:10

Spudley


They do the same.

MDC says:

For compatibility with Internet Explorer 7 (and lower) avoid lower-latin and upper-latin. Instead, use lower-alpha and upper-alpha.

like image 30
kapa Avatar answered Oct 20 '22 15:10

kapa