I catch your point Nick, the solution with <span class="sentence"> is
probably the best, but I have to point that using double space after
sentence is completely wrong. It is not “old school”—it is “bad
school”. Jan Tschichold [1] and Robert Bringhurst [2] both wrote in
their books (‘Form of the Book’[3] and ‘The Elements of Typographic
Style’ [4]) about wrong tradition of double space, which came from
typewriter’s age.
Client is client, but this is bad practice to put double space at the
end of the sentence, just remember that or may be explain it to
client. If he would like to look deeper at typography—there are
plenty of places where to look and what to improove, but this is not
the case.
best regards,
Dmitry Baranovskiy
1. http://en.wikipedia.org/wiki/Jan_Tschichold
2. http://en.wikipedia.org/wiki/Robert_Bringhurst
3. http://www.amazon.com/Form-Book-Essays-Morality-Design/dp/0881790346/
4. http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/
dp/0881792055/
Here is quote from ‘The Elements of Typographic Style’ on
webtypography.net.
“In the nineteenth century, which was a dark and inflationary age in
typography and type design, many compositors were encouraged to stuff
extra space between sentences. Generations of twentieth century
typists were then taught to do the same, by hitting the spacebar
twice after every period [full stop]. Your typing as well as your
typesetting will benefit from unlearning this quaint Victorian habit.
As a general rule, no more than a single space is required after a
period, colon or any other mark of punctuation.”
On 03/11/2006, at 7:47 AM, Nick Roper wrote:
Designer,
Thanks for that. I see what you mean about the space at the end of
the line in para 2, but the content won't be justified on the site
so shouldn't be an issue.
Nick
Designer wrote:
Nick Roper wrote:
Hi Group,
A client has requested that the content on their site has two
spaces between the end of one sentence and the start of the next.
We could do it by using non-breaking spaces, but is there a
better way of achieving this - possibly with CSS?
Thanks in anticipation.
Nick
We had a discussion on this recently, and, although tedious, it
was decided that each sentence was best put in a <span
class="sentence"> wherein this was defined simply as :
.sentence {padding-right: 0.5em; }
All other approaches (non-breaking space, using pre, etc) had
problems, it seems.
You can see a page done like this at:
http://www.rhh.myzen.co.uk/rhh2007/terms/terms.html (this site is
under construction)
You can see one of the pitfalls in paragraph 2: if the text is
justified, you encounter some lines shorter, because of the
padding, but it isn't often, so I decided that it was better to
have a small % incorrect whilst maintaining the spacing throughout
the rest of the page/site.
I have painstakingly done this for the whole of the site - but the
client is delighted! :'( and :-)
HTH,
--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php & mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************