Re: How is it possible to devise such a feeble system?

On Wednesday 24 October 2001 21:21, Jesse McCarthy wrote:
|   Vadim Plessky <> wrote on 10/24/01 9:02:31 PM:
|   >On Wednesday 24 October 2001 14:10, Andrew McFarland wrote:
|   >|   At 08:47 24/10/2001 -0400, Jesse McCarthy wrote:
|   >|   >horizontally and vertically centering a
|   >|   >DIV containing some text within another DIV?
|   >|
|   >|   Can you provide us with an example URL?
|   >|
|   >|   Andrew
|   >
|   >Come on, in thread _"inline" elements in CSS2 box model, and
|   > "inline-block" in CSS3"_ we discussed this subject as well.
|   >See answers from Tantek Celik.
|   >
|   >There is no easy way to center block in vertical direction (but you can
|   > use absolute positioning)
|   >Probably, new 'block-align' property should be introduced for this.
|   Vadim, thanks for contributing to the thread.  A few points that might
| interest you:
|   a) I don't know who you're talking to because you quoted two people

Really? I thought I quoted only one - Tantek Celik <>
|   b) some people (e.g. myself) did not belong to this list when that thread
|   occurred

ok, can you search archive, please?
alternatively, I can send you off-list all those mails
|   c) it's almost impossible for me to make any sense of your description or
|   examples in that thread

ok, for inline-block check this example
screenshot (MS IE6)

You can render it (correctly) with MS IE6 or MacIE5, as Tantek kindly advised.
I have checked it with MS IE6, it works.

|   I think what you were talking about, and this is just a guess really, is
| having more than one block-level element on the same horizontal "line".  If
| that's the case, why don't you float those blocks to the left?

but I need those blocks *in place*, not floated.
|   I guess the denouement is that you want us to look at the post by Tantek
| Celik and then agree that "Probably, new 'block-align' property should be
| introduced for this".  Well, that's fine with me, if that's what it takes
| to accomplish this oh-so-simple objective, so be it, but I'm still
| incredulous that it isn't in CSS 2.  I don't know if 'block-align' is such
| a great name though; I'm suggesting an essentially effortless way to
| vertically align any and all content within a block.

You can align blocks (vertically/horizontally), incl. (?) 'inline-block'.
You can't align LineText vertically, by definition. (only option I see is to 
use Padding, but you need to find a way to inherit container's block 
width/height values)
What I proposed to consider is adding possibility to have block elements 
inline, not breaking line.
As I also mentioned, it's very convinient for HTML formatting when you export 
document to HTML from word processor.

P.S. as I said, I also not very happy with some parts of CSS2.
But still I believe CSS2 has less glitches than PostScript.
And it's much less bloated, comparing to PostScript.
You can't compare them directly, but after all PS is just *printer control 
language* for post of the people. Other people use it to store font outlines. 
(almost) nobody think of PS as "Programming Language" (while Adobe still 
managed 900+ page Manual on it) while indeed you can solve in PostScript 
square equations and print results on output page ;-)

Vadim Plessky  (English)
33 Window Decorations and 6 Widget Styles for KDE. The Ultimate Theming 
Solution for your KDE.
Do you have Arial font installed? Just test it!

Received on Wednesday, 24 October 2001 19:06:57 UTC