Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
IMCreator - Free Website Builder

CSS list-style-position

Also see the full, alphabetical list of CSS properties


The CSS list-style-position property is used for specifying the position of list items.

Also see the list-style, list-style-type and list-style-image properties.

Syntax: list-style-position: <value>;
Possible Values: If the browser/user agent doesn't recognise the type it should use decimal.
  • inside - the bullets appear inside the principle block box of the list
  • outside - the bullets appear outside the principle block box of the list
  • inherit
Initial Value: outside
Applies to: List item elements
Inherited: Yes
Media: Visual
Example: ul { list-style-position: inside }
Try it yourself!


Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!