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

Tantek Çelik wrote:
>>>  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;
>   }           /*  ^  */

Er, right.


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

I was replying to the challenge literally. The challenge says nothing about the 
BLOCKQUOTE being in or out of flow. ;-)

-- 
Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13

Received on Saturday, 6 April 2002 19:31:52 UTC