Posts tonen met het label Style. Alle posts tonen
Posts tonen met het label Style. Alle posts tonen

vrijdag 13 februari 2009

Changing the Background Color for ActiveX Controls in SharePoint 2007

You may run into problems if you have a dark CSS background color for your site which is defined on the body element. The ActiveX control will show this dark color as its background color even if it is a child of another element with a light background color. This makes it difficult , if not impossible, to read and work with the content in the control.

On tinyfly.com I've found the solution for this:

body {
/* Background color for ActiveX items like "Edit in Datasheet */
background-color: white;
}

form#aspnetForm {
/* real background color for the site as a whole */
background-color: #002842;

/* to be sure it fills the whole page vertically */
height: 100%;
}