Tuesday, September 1, 2009

formatting

text align
inherit, centre, justify.. left and right

p{
text-align:justify;
text-decoration:line-through;
}
you can put overline and underline in text decoration.
where it is used most is with links
(a href)
a{
text-decoration:none;
}
most web users are used to clicking on links with lines under them. so its a good idea to leave an underline

letterspacing
p{
letter-spacing:(in addition to the default value) 1em;
}
so this puts 1em in addition to default on each letter

normal will make default.

word spacing

word-spacing:1em; will space between word elements.
both can be affected be align justify.

text-transform:(alter how the text would appear in the normal flow of the document) lowercase (so this will change everything to lowercase.
captilize make every letter at start of word word a capital.

text-transform:uppercase (makes every letter uppercase)

No comments:

Post a Comment