• http://www.xeenat.com/2006/02/05/yay-for-psp/

    Trying to move the numbers on the left to the right side? How do I do it?

    .commentlist li, #commentform input, #commentform textarea {
    font: 11px 'Verdana', Tahoma, Arial, Sans-Serif;
    margin: 15px 0 3px;
    padding: 5px 10px 3px;
    /*list-style: none;*/
    }

    I believe that’s the one that does the numbers. I tried adding text align: right; but then the whole comment thing moves to the right.

    Any idea?

    Any help will be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bk

    (@bk)

    Basically, I’m trying to add an ordered comment list/numbers using CSS so it shows on the right hand-side instead of left.

    Anyone please?

    I don’t think there’s a way to put ordered list markers on the right until CSS3. 🙂

    But you could use

    #commentlist { text-align: right;}

    to align all of it to the right.

    And you could add faux markers (not numbers, though) on the right using background images.

    Thread Starter bk

    (@bk)

    Adding #commentlist { text-align: right;} would move everything to the right hand-side? But I only want to move the numbers. If possible.

    Can’t I make like a div.commentsomething and then position it accordingly?

    Thread Starter bk

    (@bk)

    I just need to add comment numbers on the right side. Is it possible? I used <?php echo $com_count++; ?> before but since I implemented Ajax commenting, I have to do it using CSS.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Aligning Problem in CSS’ is closed to new replies.