On 5/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > On Tue, 22 May 2007, Blake Haswell wrote: > > > Of course, in XHTML 2.0, they will be doing away with the <br /> tag. > > Don't count this as a victory. They're replacing it with the <line>The > quick brown ...</line> syntax. So, clearly, the W3C believes that > paragraphs should be broken down somewhat. > > Just something to consider.
This is interesting stuff, although we left the original topic somewhere behind us by now. I was styling <pre> blocks last night, and really hit the line length problem. Whitespace rules didn't seem to help: ~ white-space: auto; this makes the user agent ignore any whitespace you actually put in the preformatted block; ~ white-space: nowrap: this is the standard behavior in <pre> blocks, and a long line will extend to the right as much as it wants/needs (depending on your browser, the surrounding <pre> block will be extended accordingly or not, making the line bleed out); ~ white-space: pre; this tells the user agent that you preformatted the content with the spaces where you want. After a while, I realized that this is ok: if you are in a <pre> block, you are telling the user agent you preformatted the content, so the user agent really shouldn't mess with it. Of course, it'd be nice if there was a way to constrain the content in a given width, specifying maybe an indent space for lines that are too long... So, looking at future versions of the specs, <pre> is probably ok (the added rules I mentioned in the previous paragraph would be nice additions though). Definitely, right now, it feels like <pre> and <p> are potential overlaps. In other words, if we had a bit more control over <pre> presentation, then would we need a <p> tag at all ? And as long as we have <p>, I guess we need a <br /> or <line /> to break subsections of paragraphs. Granted, if we were willing to throw <p> away, we could use a new <copy> tag in its place. - and then we could define what <copy> means from scratch (I leave it up to you to determine whether a <copy> would be a single-chunk of copy or a grouping of 1 or more chunks, in which case you need a <br /> equivalent). F. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/