Sent by David Balch on 25 May 2005 12:12
Hi BJ,
> -----Original Message-----
> From: BJ [EMAIL-REMOVED]]
> Sent: 25 May 2005 00:04
> <snip>
> Though it would be VERY tricky to do, and involve some
> positioning wizardry, I think this could be done by creating
> a bottom margin on the #3 list item using a class, and
> leaving enough room for an absolutely positioned paragraph
> there.
Yikes! That sounds like a *large* amount of hassle ;-)
> That should validate, though you'll probably get a
> few gray hairs making it lay up properly.
Especially when taking user-agent text scaling into account - ouch!
> That puts the
> paragraph "outside" of the list while it's visually inside of
> it, since an absolutely positioned paragraph can be almost
> anywhere within the body of the xhtml.
Hmm, I think I would prefer that the markup is structured more like the
layout, to reflect the relationship between the list-item and the para.
Applying your approach to my morning example [MORN], and reading in in a
non-css user agent would give a totally different text:
----------8<-----------
This morning I went through my usual waking up routine:
1) Get out of bed.
2) Clean up in the bathroom.
3) Put on some clothes.
4) Check the post.
5) Eat some breakfast.
At this point I was interupted by a stray cat wandering in to my room,
sniffing at things, then leaving. Without any reason not to, I carried on my
routine...
How exciting am I!
----------8<-----------
Nice idea though - thanks,
Dave.
[MORN] Original morning example:
----------8<-----------
This morning I went through my usual waking up routine:
1) Get out of bed.
2) Clean up in the bathroom.
3) Put on some clothes.
At this point I was interupted by a stray cat wandering in to my room,
sniffing at things, then leaving. Without any reason not to, I carried on my
routine...
4) Check the post.
5) Eat some breakfast.
How exciting am I!
----------8<-----------
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/