XtGem Forum catalog
ADS By Strikecoded:
Smash Your 2018/19 Jamb, Waec, Neco With CAMPUSBASE Visit Now.. Best Java, Android Games, Apps


No1. Naija Awarded Download Portal For Both Mobile And Pc Users..

Home | Blog | Search | Uploads

»Css Tutorials
You are viewing Tutorial 9 Of 18 Tutorials For Css Basics/Functions. View All Tutorials

»All Tutorials Collection


Tutorial 1: Introduction to CSS

Tutorial 2: CSS Syntax

Tutorial 3: CSS Classes

Tutorial 4: CSS IDs

Tutorial 5:CSS Divisions

Tutorial 6: CSS Spans

Tutorial 7: CSS Margins

Tutorial 8: CSS Padding

Tutorial 9: CSS Text Properties

Tutorial 10: CSS Font Properties

Tutorial 11: CSS Anchors, Links and Pseudo Classes

Tutorial 12: CSS Backgrounds

Tutorial 13: CSS Borders

Tutorial 14: CSS Ordered & Unordered Lists

Tutorial 15: CSS Width and Height Properties

Tutorial 16: CSS Classification

Tutorial 17: CSS Positioning

Tutorial 18: CSS Pseudo Elements

Tutorial 9: CSS Text Properties

Inherited: Yes

Color
You can set the color of text with the following:

color: value;

Possible values are

color name -example:(red, black...)
hexadecimal number -example:(#ff0000, #000000)
RGB color code -example:(rgb(255, 0, 0), rgb(0, 0, 0))



Letter Spacing
You can adjust the space between letters in the following manner. Setting the value to 0, prevents the text from justifying. You can use negative values.

letter-spacing: value;

Possible values are

normal length

Example:

These letters are spaced at 5px.



Text Align
You can align text with the following:

text-align: value;

Possible values are

left
right
center
justify

Examples:

This text is aligned left.

This text is aligned in the center.

This text is aligned right.

This text is justified.




Text Decoration
You can decorate text with the following:

text-decoration: value;

Possible values are

none
underline
overline
line through
blink

Examples:

This text is underlined.

This text is overlined.
This text has a line through it.
This text is blinking (not in internet explorer).



Text Indent
You can indent the first line of text in an (X)HTML element with the following:

text-indent: value;

Possible values are

length
percentage

Examples:

This text is indented 10px pixels.



Text Transform
You can control the size of letters in an (X)HTML element with the following:

text-transform: value;

Possible values are

none
capitalize
lowercase

Examples:

This First Letter In Each Word Is Capitalized, Though It Is Not In My File.
THIS TEXT IS ALL UPPERCASE, THOUGH IT IS ALL LOWERCASE IN MY FILE.
this text is all lowercase. though it is all uppercase in my file.



White Space
You can control the whitespace in an (X)HTML element with the following:

white-space: value;


Possible values are

normal
pre
nowrap



Word Spacing
You can adjust the space between words in the following manner. You can use negative values.

word-spacing: value;

Possible values are

normal
length

Example:

These words are spaced at 5px.
« Previous
Jump to Tutorial:
Next »


Page Statistics

DataLoads
Online1
Today's Hits 11
Total Today's Hits15
Total Hits This Week 15
Total Page Hits 9813
Total Forum Members190

Close Page Information

Go BackPromote Forum Services Members About us Terms of use Advertise News update Contact us Feedback

chart1FOLLOW US ON

FBTWG LDRS
Back to the Top

Copyright © . Theme by STRIKECODED TECH.

Desktop View