W3C home > Mailing lists > Public > www-style@w3.org > April 2002

Re: Comparing style sheet languages (was: font size)

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Sat, 06 Apr 2002 15:46:44 -0800
To: Ian Hickson <ian@hixie.ch>, Hċkon Wium Lie <howcome@opera.com>
Cc: "'www-style@w3.org'" <www-style@w3.org>
Message-id: <B8D4C8E3.6496%tantek@cs.stanford.edu>
On 4/6/02 9:05 AM, "Ian Hickson" <ian@hixie.ch> wrote:

> Hċkon Wium Lie wrote:
>> 
>> People who are interested in comparing language and syntax from
>> various style sheet mechanisms may be interested in:
>> 
>>   http://people.opera.com/howcome/2002/style/chart.html
> 
> : Challenge: Place the left content edge of a BLOCKQUOTE element 1em to the
> : left of the middle of the canvas.
> 
> That can be done in CSS:
> 
>   BLOCKQUOTE {
>      position: absolute;
>      left: 50%;
>      margin-left: 1em;
>   }

I think you meant:

  BLOCKQUOTE {
     position: absolute;
     left: 50%;
     margin-left: -1em;
  }           /*  ^  */

But that doesn't work either, because it takes the BLOCKQUOTE out of the
flow, which AFAIK is not the intent of the challenge.

Tantek
Received on Saturday, 6 April 2002 18:43:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT