php-mysql tutorial

Designed By NISHANT GUPTA

  • Home
  • PHP
  • HTML
  • CSS
  • JavaScript
  • JQuery
  • Contact-us
  • Learn HTML

    • Introduction of HTML
    • Image Handling in HTML
    • List Handling in HTML
    • Font Handling in HTML
    • Table Handling in HTML
    • Form Handling in HTML
  • Learn CSS

    • Introduction of CSS
    • Styling Background in CSS
    • Styling Text in CSS
    • Styling Font in CSS
    • Styling Link in CSS
    • Styling List in CSS
    • Styling Table in CSS
    • Styling Div in CSS
    • Styling Span in CSS
    • Positioning in CSS
    • Display in CSS
  • Learn JavaScript

    • Introduction of JavaScript
    • Data Type in JavaScript
    • Variable in JavaScript
    • Oprator in JavaScript
    • Cond. Statement in JavaScript
    • Loop in JavaScript
    • Array in JavaScript
    • Function in JavaScript
    • Date in JavaScript
    • String in JavaScript
    • DOM in JavaScript
    • Event Handling in JavaScript
    • Form Handling in JavaScript
  • Learn PHP-MYSQL

    • Introduction of PHP
    • Decision Control in PHP
    • Loop in PHP
    • Array in PHP
    • Function in PHP
    • Form Handling in PHP
    • File Inclusion in PHP

Styling List in CSS

Styling Lists

• Lists are very helpful in conveying a set of either numbered or bulleted points.
• There are following four CSS properties which can be used to control lists:
  1. list-style-type
  2. list-style-position
  3. list-style-image
  4. list-style
List-style-type
• The list-style-type property allows us to control the shape or style of marker in the list.
• For unordered lists possible values are:
  1. none
  2. disc
  3. circle
  4. squre

List-style-type

For ordered lists possible values are

Value

Description

Example

decimal

Number

1,2,3,4,5

decimal-leading-zero

0 before the number

01, 02, 03, 04, 05

lower-alpha

Lowercase alphanumeric characters

a, b, c, d, e

upper-alpha

Uppercase alphanumeric characters

A, B, C, D, E

lower-roman

Lowercase Roman numerals

i, ii, iii, iv, v

upper-roman

Uppercase Roman numerals

I, II, III, IV, V

list-style-position

• The list-style-position property specifies that the the  list-item markers should appear more indented

• It has 2 possible values :

  1. inside
  2. outside
 
 

 

Advertisements

 

©  2014 All Rights Reserved  •  Design by >Nishant Gupta.

Privacy Policy • Terms of Use