never forget

Boredom Notes Div Layout

author: Uday

10/24/2007 09:23 PM

10/24/2007 02:19 PM

basic css properties

Font Color

<font style="color: COLOR;">Your Text</font>

examples:

color:blue

color:FF0000

color:green

Font Family

<font style="font-family: FAMILY;">Your Text</font>

examples:

font-family:arial

font-family:'Comic Sans MS'

font-family:georgia

font-family:papyrus

font-family:trebuchet

Font Size

<font style="font-size: XX pt;">Your Text</font>

examples:

font-size:2pt

font-size:4pt

font-size:6pt

font-size:8pt

font-size:10pt

font-size:12pt

Font Style

<font style="font-style: STYLE;">Your Text</font>

examples:

font-style:normal

font-style:italic

font-style:oblique

Font Weight

<font style="font-weight: WEIGHT;">Your Text</font>

examples:

font-weight:normal

font-weight:bold

font-weight:bolder

font-weight:lighter

font-weight:100

font-weight:600

font-weight:900

Font Variant

<font style="font-variant: VARIANT;">Your Text</font>

examples:

font-variant:normal

font-variant:small-caps

Text Decoration

<font style="text-decoration: DECORATION;">Your Text</font>

examples:

text-decoration:overline

text-decoration:underline

text-decoration:line-through

text-decoration:blink

Text Transform

<font style="text-transform: TRANSFORM;">Your Text</font>

examples:

text-transform:capitalize

text-transform:uppercase

text-transform:lowercase

Letter Spacing

<font style="letter-spacing: XX;">Your Text</font>

examples:

letter-spacing:10

letter-spacing:20

letter-spacing:40

Borders

<font style="border: X px STYLE COLOR;">Your Text</font>

examples:

border:3px solid blue

border:5px dotted red

border:7px ridge white

Background Color

<font style="background-color: COLOR;">Your Text</font>

examples:

background-color:blue

background-color:FF0000

background-color:green

For Multiple Properties

Just combine properties

example:

font style="background-color:white; color:blue;"

Comments

View Comments (3) •  Leave Comment  •  Support Forum