Align result to the right

前端 未结 2 811
礼貌的吻别
礼貌的吻别 2021-01-21 11:59

I’m asking the same question again, now with more details, hopefully to receive effective solution.

In the code below the output aligned the printing to the right of the

相关标签:
2条回答
  • 2021-01-21 12:09

    try removing the div n just put your pagination php inside. because the way i see your div doesnt really do anything except floating to the right.

        <td align="right"><?php echo pagination($total, $limit, $page); ?></td> 
    
    0 讨论(0)
  • 2021-01-21 12:17

    Have you tried:

    .paginate{ text-align:right; }
    

    And assign class paginate to your div?

    Update

    Decalre it as !important

    .paginate{ text-align:right !important;}
    

    See this demo, it works, so I think you have something else which is taking precedence over the rule.

    0 讨论(0)
提交回复
热议问题