[WEB4LIB] Unordered Lists (UL)
Darryl Friesen
Darryl.Friesen at usask.ca
Tue Dec 7 12:11:40 EST 1999
> How can I replace the bullets and other shapes in a UL with gifs?
> I'd just like to spice up the lists a little bit.
Using the UL and LI you can't. UL has a TYPE atribute for changing the
style of bullet (disc, square, circle) but nothing like a SRC attribute for
images.
You can accomplish the same thing with a 2 column table, placing the images
in the first column and the text in the second (you don't strictly need the
table, but the text won't wrap nicely otherwise). SOmething liek this:
<TABLE>
<TR VALIGN="TOP">
<TD><IMG SRC="bullet.gif" ALT=""></TD><TD>Point #1</TD>
</TR>
<TR VALIGN="TOP">
<TD><IMG SRC="bullet.gif" ALT=""></TD><TD>Point #2</TD>
</TR>
</TABLE>
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc. Darryl.Friesen at usask.ca
Programmer/Analyst http://gollum.usask.ca/
Consulting & Development, Computing Services
University of Saskatchewan "The Truth Is Out There"
----------------------------------------------------------------------
More information about the Web4lib
mailing list