logo

"Edit in Datasheet" CSS

Jeff Adams posted on Monday, January 28, 2008 2:48 PM

Does anyone know what the CSS class name is in 2007 for the "Edit in
Datasheet" background colors?

I typically use the IE Developer toolbar or the Firebug extension in
Firefox to find the CSS class names but in this case nothing works.

Thanks.
reply


Hi Can you help,I want to makea flash banner in share point designer 2007--

danishma posted on Tuesday, January 29, 2008 8:12 AM

Hi
Can you help,I want to makea flash banner in share point designer 2007
--
Young man need help to make web site in share point designer 2007
reply

"Edit in Datasheet" CSS

Jeff Adams posted on Wednesday, January 30, 2008 9:55 AM

On 2008-01-29 19:39:10 -0600, LennyHolland@googlemail.com said:


This is the first time I've had to deal with the "Edit in Datasheet"
styles so I wouldn't know. Please post here if you find the answer.
This is driving my crazy.
reply

"Edit in Datasheet" CSS

Jeff Adams posted on Wednesday, January 30, 2008 5:59 PM

On 2008-01-29 19:39:10 -0600, LennyHolland@googlemail.com said:


I think I've fixed my problem, hopefully this helps you too.

The only way I could get the background color in the datasheet view to
change was to change the color on the  element. That meant I
needed another element that was unique enough I could target it with
CSS yet still wrapped the entire contents of the page.

Looking through the source code there is always a form tag (common with
.net I suppose) with the id="aspnetForm" just inside the body.

So I set the CSS in my theme like this:

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

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

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

Voila! White background for the datasheet views and other ActiveX
controls but still a dark blue background for the site as a whole.
reply

I'm also looking for the answer to this. Is this a post SP1 thing foryou?

LennyHollan posted on Monday, February 04, 2008 10:01 PM

I am also looking for the answer to this. Is this a post SP1 thing for
you?
reply

Voila indeed!!

LennyHollan posted on Monday, February 04, 2008 10:01 PM

Voila indeed!!

Seems to do the trick for me too. I only changed one thing; we are
using a background image, so I had to make the aspnetform color
transparent.

Thanks for the fix mate!!
reply

Edit in Datasheet

Lair posted on Friday, July 18, 2008 1:39 PM

Hi Lenny,



I've having this same problem for a while.

Where do I find the file or files to be edit?

I am new to SharePoint, can you please post the steps or at least post the file that and were it should be edit.



Thanks
reply

Edit in Datasheet

Lair Lair posted on Monday, July 21, 2008 1:51 PM

Where exactly did you add the tags and in what file.
Can you provide with an example.

Thanks
reply

 

Didn't Find The Answer You Were Looking For?

View SharePoint Design Posts   Ask A New Question

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos

Previous SharePoint Design conversation.

SharePoint Design    SharePoint Development    SharePoint    SharePoint Portal Server    SharePoint Portal Server Dev    SharePoint Setup    SharePoint Windows Services    Sharepoint Windows Services   






  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010