Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project










PROPERTY: list-style-position

list-style-position : inside | outside
 
Compatibility:  IE4+  N6
Version: Level 1
Inherited: Yes
 
The list-style-position property determines where the list-item marker appears in a list with respect to each item in the list. This property only applies to elements with display values of list-item.
 
inside
 
The inside value indents the list-item marker to the right into the list.
 
outside
 
The default outside value keeps the list-item marker extended to the left out of the list.
 
Code:
ul.in { display: list-item; list-style-position: inside; }
 
Output:
  • The effects of declaring several style properties can cascade together into creating the final appearance of the page.
  • Neither Internet Explorer nor Netscape recognize all of the W3C standards for Level 1 or Level 2.
Code:
ul.out { display: list-item; list-style-position: outside; }
 
Output:
  • The effects of declaring several style properties can cascade together into creating the final appearance of the page.
  • Neither Internet Explorer nor Netscape recognize all of the W3C standards for Level 1 or Level 2.


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information