How would I go about adding a background to my FS applications?
Specifically, I am building an application with the main page/window is a borderlayout and in the North region we have a fixed header showing information we want to be visible all the time, including our logo, user information and a few other things. The North region contains a single row 3 cell layout and I want to add a background image that spans all 3 cells - is this possible and if so, how?
asked 05 May '13, 12:15
CSS to the rescue again.. If for example your panel is named 'logoPanel', this will result in the HTML as
So you can use this to set the background image for the DIV in the CSS like
If you have nested panels in the logoPanel, this can also work. The trick then is to set the background-color to transparent for all nested panels. For example if you have a nested panel in your logoPanel , named logoPanelNested, you will need to set this in your CSS:
answered 05 May '13, 15:06