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,


--
Best Regards,

Bob McClelland

Cornwall (UK)
www.gwelanmor-internet.co.uk




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to