• Resolved guy1407

    (@guy1407)


    Hi ,

    I used

      and

        but no discs/numbers are visible.
        I looked at your style.css and noticed that both of them are turned off:

    ol, ul {
    list-style: none;
    }

    In my style.css I put:

    ul li {
    list-style-type: disc !important;
    margin: 0 0 0 30px;
    padding: 0;
    }

    ol {

    list-style-type:decimal !important;
    padding: 0 0 0 30px;
    margin: 0;
    }

    But the above does not work
    Please kindly help
    Guy

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post a link to your site?

    Thread Starter guy1407

    (@guy1407)

    Hi Stephen,

    Thanks for your reply.
    Two links:

    I did insert the above lines into rtl.css …

    Thanks in advance
    Guy Cohen

    Instead of applying the style to ul li, you should instead apply it to ul, and add the padding/margin on the right side instead of the left:

    ul {
    list-style-type:disc !important;
    padding: 0 30px 0 0;
    }
    
    ol {
    list-style-type:decimal !important;
    padding: 0 30px 0 0;
    }

    The shorthand for memorizing the order when you use padding by itself is TRouBLe: top, right, bottom, left.

    Thread Starter guy1407

    (@guy1407)

    working fine!!!
    I liked the “TRouBLe” thing!!!!!!!!!!!!!
    Thanks sire!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘No ordered list or unordered list ?’ is closed to new replies.