tobyaw: (Default)
posted by [personal profile] tobyaw at 09:50pm on 22/10/2008
There are those of you out there who like to write ‘e-mail’ instead of email. Unfortunately this, and similarly hyphenated words, can produce some nasty line wrapping. The Unicode standard includes a non-breaking hyphen, 0x2011, but I understand that there may not be consistent browser and font support for this.

An alternative when writing for the web is to use CSS to mark the work in question as non-wrapping, such as <span style="white-space: nowrap;">e-mail</span>. It mark-up is a bit verbose, but it helps to stop lines ending with a nasty ‘e-’.
location: KY16 8JY
tobyaw: (Default)
posted by [personal profile] tobyaw at 09:50pm on 22/10/2008
There are those of you out there who like to write ‘e-mail’ instead of email. Unfortunately this, and similarly hyphenated words, can produce some nasty line wrapping. The Unicode standard includes a non-breaking hyphen, 0x2011, but I understand that there may not be consistent browser and font support for this.

An alternative when writing for the web is to use CSS to mark the work in question as non-wrapping, such as <span style="white-space: nowrap;">e-mail</span>. It mark-up is a bit verbose, but it helps to stop lines ending with a nasty ‘e-’.
location: KY16 8JY

Links

July

SunMonTueWedThuFriSat
        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