Simon Cockayne wrote:
>
> This is *not* a presentation/layout issue.
from this i gather you mean it doesn't matter how it appears on screen
to the person viewing it - in other words it doesn't matter whether it
visually has any indent or not. In which case you can ignore pre, nbsp,
css as they ar
Simon Cockayne wrote:
This is *not* a presentation/layout issue.
I have a field that contains leading blanks (space) characters that the
user tells me has semantic meaning that they wish to preserve.
So what do you mean by "preserve"?
The text nodes inside foo and foo aren't equal
in valu
Upon reading the reponses, one thing remains clear:
Without an example to look at, the options have no relevance.
You claim your client says the empty space is part of the information?
Show us.
Only then can the appropriate solution be isolated.
Slightly off-topic, but perhaps not:
I have
Hi,
Ok...I asked a question about how to preserve whitespace...I got a variety
of answers (use PRE, use nbsp, use CSS).
I shall clarify the question.
This is *not* a presentation/layout issue.
I have a field that contains leading blanks (space) characters that the user
tells me has semantic mea
Hi
You'd have to define a "blank"
is it a tab -> \t, a newline -> \n, a carriage return \r
You can use pre or you can use "white-space : pre;" to PREserve the whitespace
in the string appearing in the cell.
is an html entity for the non breaking space character. You should use
it when you
> - Original Message -
> From: Simon Cockayne
> To: wsg@webstandardsgroup.org
> Sent: Tuesday, December 11, 2007 8:09 PM
> Subject: [WSG] preserve whitespace
>
> Hi,
>
>
> I have an HTML page and I want to (well my client wants me to) preserve
> leading bl
On Tue, 11 Dec 2007 16:09:03 +, Simon Cockayne wrote:
>
> I have an HTML page and I want to (well my client wants me to) preserve
> leading blanks
> in the value of a table data cell. ...
>
td {white-space: pre;} /* perhaps? */
Cordially,
David
--
www.hucklesby.com
rg
Sent: Tuesday, December 11, 2007 8:09 PM
Subject: [WSG] preserve whitespace
Hi,
I have an HTML page and I want to (well my client wants me to) preserve
leading blanks in the value of a table data cell.
I could use around the data.
Or I could use an for each leading blank.
Quoting Simon Cockayne <[EMAIL PROTECTED]>:
I have an HTML page and I want to (well my client wants me to) preserve
leading blanks in the value of a table data cell.
Depending on the data...right-align the text?
--
Patrick H. Lauke
_
td {text-indent: 1em;}
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*
Hi
It is non-schematic way and usually you can solve this problem with
css padding property. If you don't -- use to keep whitespace.
Max.
2007/12/11, Simon Cockayne <[EMAIL PROTECTED]>:
> Hi,
>
>
>
> I have an HTML page and I want to (well my client wants me to) preserve
> leading blanks in t
Hi,
I have an HTML page and I want to (well my client wants me to) preserve
leading blanks in the value of a table data cell.
I could use around the data.
Or I could use an for each leading blank.
Any others?
What is the "standard" way to do it?
Cheers,
Simon
***
12 matches
Mail list logo