Project

General

Profile

Background Color

Added by Paul T... over 6 years ago

Hello,

I have a simple problem : I want to have a full colored window.

For example, that the whole window has grey background and I put widgets then.

If I set the stylesheet for the root() or the containers that contain the widget, the background

is only colored to the last widget in height...

Any idea of how to do that ?


Replies (1)

RE: Background Color - Added by Stefan Arndt over 6 years ago

Hi,

that's because the root element might not span the entire height/width of your browser window. But you can add a CSS-rule for the body element to achieve what you want:

body {
  background-color: #ff0000;
}
    (1-1/1)