WordPress.org

Support

Support » Themes and Templates » ol decimal and than image

ol decimal and than image

  • is it possible to create (in css) a layout for my comments like this:
    1. (img) …..
    2. (img) …..
    3. (img) …..

    I tried this code but it faild:
    ol {
    list-style: decimal url(img/comment.gif);
    }

    someone a solution for me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • add a background image to your ol li style and offset the text with some padding so the image is visible…

    thx for the tip

    the background is displayed ones with this:

    ol {
    list-style: decimal;
    background-image: url(img/comment.gif);
    background-repeat:no-repeat;
    }

    and i want it to display the image before every decimal…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ol decimal and than image’ is closed to new replies.