pager buttons styles: suggestion
pager buttons styles: suggestion
Pager buttons are given the class "paginate_button" and an active pager button is given "paginate_active", replacing "paginate_button".
It would make more sense to ADD this style to an active button and remove it when it becomes inactive again. So that pager buttons will always be styled "paginate_button" and will look like this:
[code]
1
2
3
4
[/code]
The reason for that is that usually all pager buttons share the same style, and the active button gets an extra style to stand out (for example font-weight: bold, or background-color: yellow). Currently I need to duplicate the styles for both classes and add this extra style for the active button.
Thanks, Benny
It would make more sense to ADD this style to an active button and remove it when it becomes inactive again. So that pager buttons will always be styled "paginate_button" and will look like this:
[code]
1
2
3
4
[/code]
The reason for that is that usually all pager buttons share the same style, and the active button gets an extra style to stand out (for example font-weight: bold, or background-color: yellow). Currently I need to duplicate the styles for both classes and add this extra style for the active button.
Thanks, Benny
This discussion has been closed.
Replies
Allan