I fear this may not be possible, but I'd like to have a nested UL display
such that the child elements are displayed alongside their parents.

 

<ul>

            <li>Sunday</li>

                        <ul>

                                    <li>10:30 am</li>

                                    <li>2:00 pm</li>

                        </ul>

            <li>Monday</li>

                        <ul>

                                    <li>7:30 pm</li>

                        </ul>

</ul>

 

Should display like this:

 

Sunday             10:30 am

                        2:00 pm

 

Monday             7:30 pm

 

.the key being the horizontal alignment of the first child with its parent.

 

I want to use the UL's because I think this is the best semantically correct
way to mark-up the information.

 

I can kind of get it close with negative margins, but I don't know how to
make them exactly aligned-especially when the body text size is changed.

 

Here is a link to a working-copy of the code:
http://www.calvarygreenmeadow.com/schedule_new_5.htm

 

Thanks in advance for your help!

 

Dan

 

 

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to