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

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 UTC