![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Since I was so pleased to discover how to enable my keyboard to type symbols like … directly, I made a howto-page about it: http://tcl.sfs.uni-tuebingen.de/~hendrik/keyboard.shtml. I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, but I am not satisfied with it, since tabs are not preserved (see bottom part). This is not essential here, but would be nice. Can I do that with an addition to the CSS given on the link above? (I removed # margin: 1px 0; since I don’t like it.) |
#3
| |||
| |||
|
|
I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, |
|
but I am not satisfied with it, since tabs are not preserved |
#4
| |||
| |||
|
|
Scripsit Hendrik Maryns: I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, Why? Their page looks reasonable (at least when viewed text-only, the usual bogosity check), and they have a superficially good argument (<pre> carries no meaning), but what _is_ this xhtml.com? The only information I found easily is an obfuscated E-mail address: "For comments about xhtml.com, please contact: feedback [at] xhtml.com" This gives an initial expectation of credibility around -100. |
#5
| |||
| |||
|
|
Their credibility on the value of the PRE tag can be judged by your personal feelings about munged e-mail addresses? |
|
That's like saying that the initial expectation of credibility of the remainder of your response (which is a great treatment) is -100% because of your bogus invocation of their approach to contact information. |
#6
| |||
| |||
|
|
Scripsit Harlan Messinger: Their credibility on the value of the PRE tag can be judged by your personal feelings about munged e-mail addresses? No, their _general_ credibility gets a low initial score due to the _fact_ that they don't even tell who they are (and don't even tell their names and real e-mail address). |
|
That's like saying that the initial expectation of credibility of the remainder of your response (which is a great treatment) is -100% because of your bogus invocation of their approach to contact information. That's like your usual babbling about irrelevant things. |
|
I think you could do better. You might have, for example, made a _single_ reasonable or reasonable-looking comment on the on-topic issue whether <pre> should really be avoided in favor of CSS (or even on the remotely-on-topic issue whether xhtml.com should be relied on). |
#7
| |||
| |||
|
|
I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, |
#8
| |||
| |||
|
|
No, their _general_ credibility gets a low initial score due to the _fact_ that they don't even tell who they are (and don't even tell their names and real e-mail address). |
#9
| |||
| |||
|
|
Scripsit Hendrik Maryns: I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, Why? Their page looks reasonable (at least when viewed text-only, the usual bogosity check), and they have a superficially good argument (<pre> carries no meaning), but what _is_ this xhtml.com? The only information I found easily is an obfuscated E-mail address: "For comments about xhtml.com, please contact: feedback [at] xhtml.com" This gives an initial expectation of credibility around -100. |
|
The argument isn't really that good. What do you use instead? If you have data where whitespace really matters, like Python code, then why would you _rely_ on CSS as regards to getting this important _content_ information delivered? The usual CSS Caveats imply that <pre>, rather than any CSS constructs, are the right way to go if the data _is_ really preformatted plain text and preserving that is essential. but I am not satisfied with it, since tabs are not preserved By HTML specifications, tab stops should appear in a certain way _and_ authors should not rely on this. Use the safe way: spaces. |
#10
| |||
| |||
|
|
Wed, 18 Jun 2008 14:44:14 +0200, /Hendrik Maryns/: I tried to follow the advice from http://xhtml.com/en/xhtml/reference/pre/ to not use the <pre> tag, If the only reason not use <pre> is it "has no semantic meaning" you could give it meaning, like: pre><code>...</code></pre |
|
pre><samp>...</samp></pre |
![]() |
| Thread Tools | |
| Display Modes | |
| |