This topic is locked
[SOLVED]

 List Pagination

3/24/2010 2:04:34 PM
ASPRunnerPro General questions
J
Jay123 author

Hi!
I was trying to change the pagination alignment on the list page from center to left. I've changed it through Visual Editor (Design mode and HTML mode) and I've tried changing it as well in stylesheet. However, there's no luck. Could you pls. let me know how can I change it? I used text-align:left but no success. I am using ASPRunner 6.1.
The funny thing was, I can see that it's on the left side when I am in the Design mode. But from the actual web page, it's still in the center.
Thanks in advance.........

Sergey Kornilov admin 3/24/2010

You can add 'List page: Before display' event and use the following code there:

pagination = xt.xt_vars("pagination")

pagination = replace(pagination, " align='center'"," align='left'")

xt.assign "pagination", pagination
J
Jay123 author 3/25/2010

Thanks a lot, Sergey. It worked!