+ 3

What is the difference of list-style-position between inside and outside..??

list-style-position

9th May 2017, 8:10 AM
Suprio Paul
Suprio Paul - avatar
2 ответов
+ 18
list-style-position: inside; ------------------------- • Hi, i am an element with the property "inside", The list-item marker is inside, so... i can write my text here without any problem. ------------------------- list-style-position: outside; ------------------------- • |Hi, i am an element |with the property "outside" |The list-item marker is | outside, so... my text |is "indented". ------------------------- If you want a more specific example, see this: https://www.w3schools.com/cssref/pr_list-style-position.asp As you can see, the list item marker is positioned outside/inside the box.
9th May 2017, 8:31 AM
Maz
Maz - avatar
+ 3
Thanks got it
9th May 2017, 8:48 AM
Suprio Paul
Suprio Paul - avatar