HTML:lists

Real Rodrigue rodrigue.real at uqam.ca
Mon Mar 2 16:06:33 EST 1998


One way to substitute an image for the disc, square or circle in a bullet
list would be to just erase the <LI> tag, and insert the image in its place,
as in the following code:

----------
<UL>
  <P><IMG SRC="http://www.unites.uqam.ca/bib/images/star.GIF" 
  WIDTH="33" HEIGHT="32" ALIGN="BOTTOM" BORDER="0" NATURALSIZEFLAG="3">1st
  item 
  <P><IMG SRC="http://www.unites.uqam.ca/bib/images/star.GIF" 
  WIDTH="33" HEIGHT="32" ALIGN="BOTTOM" BORDER="0" NATURALSIZEFLAG="3">2nd
  item
  <P><IMG SRC="http://www.unites.uqam.ca/bib/images/star.GIF" 
  WIDTH="33" HEIGHT="32" ALIGN="BOTTOM" BORDER="0" NATURALSIZEFLAG="3">3rd
  item
</UL>
------------

Réal Rodrigue
Bibliothécaire
Services informatisés - Bibliothèque
Université du Québec à Montréal

TEL: (514) 987-3000 #4554              FAX: (514) 987-7787
Courriel / e-mail : Rodrigue.Real at UQAM.CA
WWW : <http://www.er.uqam.ca/nobel/g17176/Real.html>

> -----Message d'origine-----
> De:	Eric Robbins [SMTP:erobbins at nslsilus.ORG]
> Date:	2 mars, 1998 15:44
> À:	Multiple recipients of list
> Objet:	Re: HTML:lists
> 
> A
> >At 11:38 AM 3/2/98, Bill Frost wrote:
> >
> >>Librarian has image problem.
> >
> 
> >>I remember reading somewhere of a way (Netscape extension?) to
> substitute
> >>an image for the disc, circle, or square preceding items <LI>listed</LI>
> >>in an <UL>unordered</UL> list, but I found nothing in both paper and
> >>online HTML guides. 
> >
> >
> Unless I'm mistaken, most browsers support definition lists ( which don't
> include any bullets etc., in their formatting). So you could use a
> definition list, and then drop your graphic in at the beginning of each
> section:
> <DL>
> <DT>Wombats
> <DD><IMG SRC="jiffy.gif">cute
> <DD><IMG SRC="jiffy.gif">deadly
> </DL>
> 
> It's an easy solution for those of us who are waiting before switching
> over
> to using style sheets.
> 
> 
> 
> Eric Robbins
> Web Master
> Reference Department
> Northbrook Public Library
> 1201 Cedar Ln.
> Northbrook, IL 60062
> (847) 272-6224
> erobbins at nslsilus.org
> http://nsn.nslsilus.org/nbkhome/nbpl/index.html


More information about the Web4lib mailing list