AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS List-Style-Position Property |
The list-style-position property offers a way for the user to specify whether the marker should be treated as part of the regular text when it comes to formatting. Another way to think of this is whether the second line of a list item aligns with the bullet point or with the beginning of text on the first line. The possible values of list-style-position are 'inside' and 'outside.' 'Outside' is the default value. Below are examples to illustrate the difference between the two (notice the indentation and how the lines align): Example 1: list-style-position is 'inside' CSS Declaration
The following HTML code,
results in the following,
Example 2: list-style-position is 'outside' CSS Declaration
The following HTML code,
results in the following,
| > List-style-position
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.