From time to time you may wish to have the smallButtons not to be sepearated by spaces. To show what I mean, here's a screenshot first in the standard view of Blue Sunrise.
To remove the spaces between the buttons you have to put the following CSS to the additional CSS declarations:
|
Cascading style sheet
|
1
2
3
4
|
#tplThread .smallButtons li {margin-left: 0; margin-right: 0; border-right: 0;}
#tplThread .smallButtons li a {border-right: 0;}
#tplThread .smallButtons li:first-child {border-right: solid 1px #colorcode;}
#tplThread .smallButtons li:first-child a {border-right: solid 1px #colorcode;}
|
You should get something like this:
Some Explanations: To only have the effect in the thread view I added the ID #tplThread. I did this because there are sites in the Burning Board (where it can happent that) there's only a single smallButton - in cases like that you would have a problem when the border at the right side is missing and that's the weak point of this example.
The first line removes the outer spaces between the buttons and the right outer border.
The second line removes the right inner border.
The third line creates a right outer border for the first button (first-child).
The fourth line creates a right inner border for the first button.
Attention: The code will only work as shown if the buttons are aligned right. If the buttons are aligned left the code will have to be modified.
The phenomenon that you have to remove the right border from the first button and the first button (first-child) is the las to be shown is a result of the buttons being aligned right.