Announcement

Collapse
No announcement yet.

Formatting blocks - for example, change the background colour?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Formatting blocks - for example, change the background colour?

    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):

    Code:
    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

  • #2
    Really? No one else has needed to format a block?

    Comment


    • #3
      Buddie,

      I will check it out with our test manager and then I will bring it back to you, ok?
      Best regards,
      Carlos Lacerda.
      ScriptCase Commercial Manager.

      Skype: carlos.lacerda82
      Email: carlos@scriptcase.net
      Visit our Blog: http://www.scriptcase.net/blog/
      Visit out fan page: http://www.facebook.com/Scriptcase

      Comment


      • #4
        Many thanks Carlos

        Comment


        • #5
          Carlos - any news on this please?

          Thanks

          Comment


          • #6
            Not yet, let me check again.
            Best regards,
            Carlos Lacerda.
            ScriptCase Commercial Manager.

            Skype: carlos.lacerda82
            Email: carlos@scriptcase.net
            Visit our Blog: http://www.scriptcase.net/blog/
            Visit out fan page: http://www.facebook.com/Scriptcase

            Comment

            Working...
            X