Others have outlined the reasons not to use pre tags, so I won't go on
about that too much, but to say that it's inappropriate to reformat
preformatted text IMHO. That's just opinion, though.
There are arguments both ways with regard to the use of whitespace as a
part of content as opposed to as
Joshua Street wrote:
What's the recommended practice with indentation?
You can use CSS to indent text with padding and whatever else, but
that's a pain if you have a sitewide CSS file, and the text to be
indented doesn't sit in any defining container
Why doesn't it sit in any defining
Joshua Street wrote:
What's the recommended practice with indentation?
Uh - is there any reason not to use pre? What you're talking about is
really visual presentation, isn't it? I'd respectfully suggest that the
indentation is not adding anything to the semantics of the content or
the code. A
This is my code for indenting text after the first line
.indent { text-indent: -2em; margin: 0 2em;}
.indent:first-line { text-indent: 2em; }
Bryan
**
The discussion list for http://webstandardsgroup.org/
See
I'll second that with the css code of white-space which takes these
values: normal, pre, and nowrap.
EX:
.poem{white-space:pre;}
-chuck
On Sunday, October 24, 2004, at 08:03 AM, Nick Gleitzman wrote:
Joshua Street wrote:
What's the recommended practice with indentation?
Uh - is there any
I like Bryan's markup the best as it uses the first-line attribute to
specify the indentation for each stanza.
When I first started to think about this the solution I conceived was
similar to the ones that Mordechai proposed and I like those as well,
however, if the css standard supports
Joshua Street wrote:
What's the recommended practice with indentation?
Uh - is there any reason not to use pre?
Charles Eaton wrote:
I'll second that with the css code of white-space
Well, I wouldn't say the spaces are part of the content, but rather
they're a part of the presentation, based
What's the recommended practice with indentation?
You can use CSS to indent text with padding and whatever else, but
that's a pain if you have a sitewide CSS file, and the text to be
indented doesn't sit in any defining container
---
Example 1:
Just the place for a Snark! the Bellman cried,
If its a quote like your example, use blockquote/blockquote
Neerav Bhatt
http://www.bhatt.id.au
Web Development IT consultancy
http://www.bhatt.id.au/blog/ - Ramblings Thoughts
http://www.bookcrossing.com/mybookshelf/neerav
Joshua Street wrote:
What's the recommended practice with indentation?