Closed m5o closed 10 years ago
list-style: outside; overwrites list-style-type of ul and ol elements.
list-style: outside;
list-style-type
ul
ol
with the result both ul and ol have 'disc' as list-style-type. for ul this is ok, but not for ol
dummy example:
/*doc # Alerts 1. Hide by default 2. Set fixed position <div class="alert"> </div> */ .alert { border: solid; /* 1 */ position: fixed; /* 2 */ }
after/before screenshot:
list-style: outside;
overwriteslist-style-type
oful
andol
elements.with the result both
ul
andol
have 'disc' aslist-style-type
. forul
this is ok, but not forol
dummy example:
after/before screenshot: