Previous Message
Next Message

Double space after a period

Sent by Austin, Darrel on 13 October 2006 22:10


> 	Is there a way in CSS to turn a single space after a 
> period into a double space - without using   (the no 
> break HTML code)?  The drawback to using  , besides 
> having to type it in, is that if a sentence in the middle of 
> a paragraph starts on a new line, that line is indented by a 
> space, which throws off the look of the whole paragraph.

One option just occurred to me...via server-side code, you could search
for every period and replace it with:

<span class="frenchSpace">.</span>

Then, in your css, you could give that a padding-right of say, 1em. That
should give you what you want without the issue of the &nbsp; indents.

Granted, it's still not proper typography IMHO. ;o)

-Darrel
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: