Click to See Complete Forum and Search --> : unordered lists


wasssu
05-11-2004, 07:02 AM
I'm using unordered list(<ul>) and i want to replace the circles and the squares with imagies or characters. How can i do that? THNX!

Pittimann
05-11-2004, 07:15 AM
Hi!

I don't know, whether the usage of images is possible. This example is dealing with lower case letters:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
UL {
list-style-type: lower-alpha;
}
-->
</style>
</head>
<body>
<ul>
<li>
blah
</li>
<li>
blah
</li>
<li>
blah
</li>
</ul>
</body>
</html>Cheers - Pit

TheBearMay
05-11-2004, 07:39 AM
Try:


<style type="text/css">
<!--
UL {
list-style-image: URL;
}
-->
</style>

Pittimann
05-11-2004, 07:46 AM
Hi, TheBearMay!

I actually had tried 'list-style-type: url;' and of course it idn't work. Nice - once again, you taught me something! :p

Cheers - Pit

TheBearMay
05-11-2004, 09:26 AM
You've taught me quite a few things too, so it's nice to be able to return the favor.

Pittimann
05-11-2004, 10:03 AM
Hi!

Well - we're all here to learn and if learning and teaching function in a bi-directional way that is much nicer than the one way street. :p

Anyway, the main thing here is: you gave the best answer to wasssu's question ;)

Cheers - Pit