- From: Håkon Wium Lie <howcome@opera.com>
- Date: Sun, 7 Apr 2002 13:29:55 +0200
- To: Chris Casciano <10sball@placenamehere.com>
- Cc: "'www-style@w3.org'" <www-style@w3.org>
Also sprach Chris Casciano:
> > 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.
> It doesn't say where the right edge of the content area has to be, so I
> can't see why you can't alternatively answer the question with:
>
> blockquote {
> margin:0 0 0 50%;
> padding:0;
> position:relative;
> top:0;
> right:1em;
> }
Because the margin values are relative to the box established by the
*parent*. The challenge was to posisiton it relative to the content
area (i.e., the area into which the content is poured).
-h&kon
Håkon Wium Lie cto °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Sunday, 7 April 2002 07:41:15 UTC