Reverse print and the datasheet you couldn’t read…

By Future-MOSS-Rocker

Croikey!

The branding for my site involves reverse print (light text on a darker background, as opposed to black on white.) When I went to edit a list in datasheet mode, it used my dark background, but the default black and blue text. See:

Hello, can you read this? Ouch, my eyes!

Talk about a holy terror for your poor little eyeballs!

I couldn’t find the CSS (if it even exists) for any part of the datasheet, but I did eventually find a hack. It involves changing the body’s background to white, and then using other css to override that with your actual background.  ActiveX controls just use the background color, so viola! Your datasheet now has a white background and your eyeballs are only mildly perturbed. See:

Hello, can you read this? Ouch, my eyes!

This post was helpful:
http://www.eggheadcafe.com/software/aspnet/31532908/edit-in-datasheet-css.aspx 

What a good little net citizen to post a question, have no one answer it, and then post the solution you ended up finding!

The only issue I’ve found with this is that you will sometimes get random white areas if you’re viewing a list and then expand a collapsed node. I haven’t played with that much, and I did notice it in IE6, so… maybe it’ll turn out OK.

Tags: , , , , , , ,

One Response to “Reverse print and the datasheet you couldn’t read…”

  1. Skinning SharePoint - using custom CSS to override core.css « Rock MOSS 2007 Says:

    [...] The “edit in datasheet” view of a list (well, sorta..) [...]

Leave a Reply