Re: Ordered Lists

by "Ineke van der Maat" <inekemaa(at)xs4all.nl>

 Date:  Thu, 20 Dec 2001 09:44:47 -0800
 To:  "Anthony Romano" <datachem(at)shadow.net>,
<hwg-basics(at)hwg.org>
 References:  yahoo mom
  todo: View Thread, Original

Hello Anthony,

What you want is not so difficult.
In your stylesheet you can format the list-style-type you want and also your
list items When you do only
<ol>
   <li>blabla</li>
    <li>blabla</li>
</ol>
The browser put automatically a nummer for each listitem.
When you want no number for it, but e.g. a disc you write in your
stylesheet, when your list is about books...

ol.Books {
    list-style-type: disc;
}

li.BookTitle {
   color: blabla;
   background-color: blblabla;
}
and so
 you can format the listitems as you want.

In the code you do this

<ol class="Books">
     <li class="BookTitle">blablabala.</li>
      <li class="BookTitle">blablabla</li>
 </ol>

You must consider it in this way: when you move to another house you don't
write on the boxes box but clothes, books, CDs.so you know what is in the
box.
So you must use your classnames in the stylesheets so you know what you have
formatted in your page..

You see I indented li within ol in the code , so I know how the structure of
my site is. Good code  reflects the structure of the page.    I ientend
sometimes four times deep  when the strucure of the page that requires.
It is really not easy to code structured . and use classnames that reflect
the items that must be formatted
It took me some months before I really used it in the correct way.. but know
I think it is very easy

See for my stylesheets: http://www.hoehnermusikfan.net/buchinhalt/struktur/
and http://www.hoehnermusikfan/buchinhalt/sheet for the general
sitestylesheet.   ( I published them in the site) and next to the rooster
in the bottom you can find  Inhaltsverzeichnis (table of contents) so you
can find every page very quickly.  I wrote this fanpage as a book with
volumes and chapters for the site-structure...  Itis  not ready I must still
code more as 10 chapters. It wil be a very large fansite of the German band
H�hner (chickens) ... so you find many thickens in it..

I hope it helps...


Greetings
Ineke van der Maat

----- Original Message ----

I hope it help

greetings
Ineke van der Maat


From: "Stephanie Thrasher" <stephanie(at)thrasherweb.com>
To: <hwg-basics(at)hwg.org>
Sent: Wednesday, December 19, 2001 9:09 PM
Subject: Re: Ordered Lists


> But Tom, I think he's asking if there's a way to have ordered lists
rendered
> with a parenthesis beside each number.  I don't think there's any way to
do
> this...is there?
>
> Stephanie

>
>
> > I would like to create an ordered list with the numbers being 1) 2) and
so
> > on or the letters being A) B) and so on.  All that I seem to be able to
do
> > is 1. 2. and so on or A. B. and so on.  Any help would be appreciated.
> > Thanks.
> >
> > Anthony Romano
>
>
>
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA