Removing un nessasary new line characters from between each button reference should be enought.
If not past an example where you have them together.
regards
Tony
<$button>Button 1</$button><$button>Button 2</$button><$button>Button 1</$button>
<$button>Button 2</$button><$button>Button 1</$button>
<$button>Button 2</$button>(in my own defense, i was on my way out of the office when i wrote that and just tossed it on the forums hoping for an answer when i got back - it didnt even occur to me it was something so simple!)