Hi Chris,
Thanks for the reply, I'll get in touch off-list for the regex code -
much appreciated. We use PHP to implement CMS for clients so that would
fit well.
Before anyone does leap into print to condemn the practice as old-school
or wrong, I'm not really interested in getting involved in a debate. My
client is paying the money, they want two spaces, and - as far as I can
see - it doesn't have any impact on usability or accessibility. Also,
the client is a solicitor and 'old-school' anyway.
Thanks,
Nick
Chris Williams wrote:
There was quite the flame war on this topic about a month ago, you might
want to check archives... You will certainly get some responses in the "why
would you do that", "it's old-school", and "it's wrong" variety.
But I insist on it as well on my site, and I have done a great deal of
research on how to accomplish it. In short, there is no good CSS way to do
this, and there is really only one way to accomplish it: with
" <space>". This preserves line breaking and provides the necessary
space.
I do it reliably through PHP on my site, if you want to see my regular
expression code that does it, talk to me off list, and I'll happily give you
the code (I was attacked the last time I posted it...). If you want/need to
do it with HTML, I can only think of inserting it by hand... A real PITA.
HTH,
Chris
From: Nick Roper <[EMAIL PROTECTED]>
Subject: [WSG] Additional space between sentences ?
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?
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
--
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]
*******************************************************************