zaphodeist, I took the slant of the questions to be dynamic colouring.
The other approach it to place a box behind and make it stretch as with dynamic buttons.
Ali, the trick with text is each line is a span so you much add a special Name to the text block.
Have a look in one of the Stickies here for Advanced Features.
Acorn
Bookmarks