|
Posted by Chris F.A. Johnson on August 31, 2006, 9:32 am
Please log in for more thread options
On 2006-08-31, deko wrote:
> There's a pretty good tutorial here:
>
> http://www.mediacollege.com/internet/css/ul-list.html
>
> but the problem is *none of the directive seem to be doing anything* for me.
>
> What I want is a) no indentation, and b) an image as a marker.
>
> From what I've read, the CSS should look something like this:
>
> #sidebar ul {
>
> list-style-image: url("/images/arrow.gif");
> list-style-position: inside;
>
> }
>
> one joker in the pack is I have a class nested in an id:
>
><div id="sidebar">
> <div class="sidebartext">
> [php-generated lists here]
> </div>
></div>
>
> Should the CSS look like this:
>
> #sidebar .sidebartext ul {
>
> list-style-position:inside;
> list-style-image:url(("/images/arrow.gif")
>
> }
>
> Other suggestions or examples?
>
> Why can't I format my ul?
What is not working? Do you have a URL? (It works for me:
<http://cfaj.freeshell.org/testing/list.html>.)
Are you sure that the URL for the image is correct?
--
Chris F.A. Johnson <http://cfaj.freeshell.org> ===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
|