Tuesday, November 3, 2009

SharePoint ActiveX | Inherits color from body

You want this

.body { background-color: #000; }

but you get this for free:

- ActiveX controls appear black (color is inherited from body)

I tried everything:
- Adding "params" to Upload.aspx
- rewriting activex script
- creating css classes

But nothing worked but the fix many people are using:

.body { background-color: #fff; }
form#aspnetform { background-color: #000; }

or simply
.bodyclass { background-color: #000; } //add class="bodyclass" to masterpage's form tag

No comments:

Post a Comment