Hi
I can see how to change the background colour of a block TITLE - however, what about the background colour of the block itself? I have a form with 3 small blocks side by side.
It would be nice if I could wrap a border around the whole block itself (not just the title), and also change the whole block’s individual background colours - any ideas how to do this (or is it even possible)?
The one promising thing I had found was a suggestion back in 2012 that you could put in a form’s onApplicationInit event something like this to give full control to formatting a block (this example though only shows changing background colour):
echo "<style type='text/css'>#div_hidden_bloco_1 { background-color: #FFCC99 } </style>";
Apparently, there are (or were) hidden “divs” for each block on a form (starting at 0).
This doesn’t work (in SC8) and I am guessing that since 2 years ago things are more Ajax, and the above theory no longer holds true?
Any help gratefully received.
Thanks