[Prev][Next][Index][Thread]

Re: list-item alignment in CSS



Question -- should the markers float out in front?  If they happened to be 
larger glyphs, or images, they would need to be positioned rather 
delicately..... :before and :after would seem to give this flexibility.

Ian

Todd Fahrner wrote:
> At 19:24 -0700 6.4.97, David Perrell wrote:
> > Hakon Lie wrote:
> > > ... With the keyword value 'outside', the marker will be put
> > > outside the box and the box will be formatted and positioned as any
> > > other box.
> >
> > BODY     { margin-left: 0 }
> > UL       { margin-left: 0 }
> > UL LI    { margin-left: 0 }
> > ...
> >
> > <BODY>
> > <UL>
> > <LI>Those bullets are out there...<LI>
......
> > </UL>
> >
> > ...
> >
> > Those bullets are out there...
> >
> > But who knows where?
> >
> > Somehow this doesn't seem right to me.
> 
> Yes, it's odd. I've suggested that the markers should take as much
> space as they need, intruding either partially into the list item
> content block, or completely a la "inside" style.
> 
> ...
> 
> 
> XVII. This is item
>    number seventeen.
> 
> XVIII. This is item
>    number eighteen.
> 
> ...
> 
> 
> * Those bullets are
> out there...
> 
> * But who knows where?
> 
> * Somehow this doesn't
> seem right to me.


References: