• How can you add a List-Style disc or image on the right side of a text?

    How every I try it, the disc automaticly comes to the left of the text ??

    So how do you align List-Style to the right?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Now, this is just code from my theme, but it should show you how to do it.

    ul ul li {
    height: 1%;
    list-style-type: none;
    margin: 0 0 5px 0;
    padding: 0 0 0 15px;
    background: url(img/icon-arrow.gif) no-repeat;
    line-height: 120%;
    }

    The bolded part is where you put the image. It floats to the left of the text.

    Thread Starter Arash

    (@john25)

    Thank you Kohaku, my point is to have it float to the left.

    The only option I have found is to create a background image. But so far no sollution for a list-style.

    Thank you for your feedback.

    That way it does float left. I don’t believe you can put an image in the list-style area. You have to work around the system.

    Putting list-style as none and signifying a background that doesn’t repeat is, CSS-wise, the closest you can currently get to changing the image that shows next to list items.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List-Style on the right?’ is closed to new replies.