forked from aristus/sweet-justice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
35 lines (25 loc) · 914 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Sweet Justice: beautiful justified text.
Include this file at the bottom of your pages
and it will hyphenate and justify your text.
The script pays attention to elements with
any of these three CSS classes:
sweet-justice: Hyphenated and justified
sweet-hypens: Hyphenation only
justice-denied: No hypens or justification.
This is useful for child nodes.
Hyphenation is accomplished by inserting soft
hyphen characters (0x00AD) into long words.
Requires either jQuery or YUI3.
WHAT PEOPLE ARE SAYING:
----------------------------------------------
"This is just terrible."
-- globally_unique_id
"A nice idea, but unusable."
-- eleven3
"honestly i'm glad the web doesn't have great
support for justified text"
-- jawbroken
----------------------------------------------
BSD license: Share and enjoy.
@author carlos@bueno.org 23 April 2010
github.com/aristus/sweet-justice