This is a migrated thread and some comments may be shown as answers.

background-image:none css not working in IE browser

4 Answers 255 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christopher Susilraj
Top achievements
Rank 1
Christopher Susilraj asked on 07 Sep 2011, 02:38 PM
Hi sir,
          We are using Telerik RadGrid. We have  remove background image in header of the radgrid sir....

 We give the corresponding  Css  style  below sir....

div.RadGrid_Default .rgHeader , div.RadGrid_Default .rgHeader a
        {
           font-family:Trebuchet MS;
           font-size:14px;
           color:#575757;
           font-style:normal;
           background-image:none;
           background-color: #EEEEEE;        
        }

The above Css style which removed the background-image in the RadGrid header  while running in  Firefox browser and not work in Internet Explorer Browser sir....

 Our need is how to remove background-image in  RadGrid  header running in Internet Explorer Browser.....

we are waiting for your valuable answer sir....

Kindly reply soon sir....

4 Answers, 1 is accepted

Sort by
0
Christopher Susilraj
Top achievements
Rank 1
answered on 12 Sep 2011, 11:11 AM
Hi sir,
          We are using Telerik RadGrid. We have  remove background image in header of the radgrid sir....

 We give the corresponding  Css  style  below sir....

div.RadGrid_Default .rgHeader , div.RadGrid_Default .rgHeader a
        {
           font-family:Trebuchet MS;
           font-size:14px;
           color:#575757;
           font-style:normal;
           background-image:none;
           background-color: #EEEEEE;        
        }

The above Css style which removed the background-image in the RadGrid header  while running in  Firefox browser and not work in Internet Explorer Browser sir....

 Our need is how to remove background-image in  RadGrid  header running in Internet Explorer Browser.....

I have attached the Screenshot for Firebox and Internet Explorer Browsers....

We already posted this issue two days before sir.....

Please kindly reply soon sir,we are waiting for your valuable answer sir....


Regards
Balaji.J
0
Galin
Telerik team
answered on 13 Sep 2011, 10:12 AM
Hello Christopher Susilraj,

I just tested the provided CSS rule and it looks as is expected in all IE browsers. I guess you have additional custom styles, which override it. Therefore I recommend you to take advantage of web tools like Firebug for Firefox / IE developer tool. Shortcut F12 activates both and with them it is very easy to inspect the elements and see the styles that they have. After inspecting the element styles you can add or edit their CSS rules.

Additionally you can find a sample web site in the attached file, which I used for the tests.

Regards,
Galin
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christopher Susilraj
Top achievements
Rank 1
answered on 14 Sep 2011, 02:17 PM
Thanks sir,
                   I  saw sample code and put it my project sir....
In firefox  background image is removed but in Internet explorer background image didn't remove  sir....

In our project  set background image to all row of the radgrid Using below  CSS style

.RadGrid_Default .rgRow td
        {
            border-width: .2em;          
            background-image:url('Images/imgAppoinment.png');                  
        }                

Our need is remove background image from header of the radgrid... So we using below Css style

div.RadGrid_Default .rgHeader, div.RadGrid_Default .rgHeader a
        {
            
           font-family:Trebuchet MS;
           font-size:14px;
           color:#575757;
           font-style:normal;
           background-image:none;
           background-color:#EEEEEE;
           
        }    
  
The above CSS work fine in firefox ,google chrome sir, but not work in Internet explorer sir...

Please kindly guide me sir with some example source code sir
0
Pavlina
Telerik team
answered on 19 Sep 2011, 09:22 AM
Hi Christopher Susilraj,

Thanks for the sample code. However, I can not replicate the problem you are facing under IE. Please examine the attached tet project and let me know what is the difference in your case.

All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Christopher Susilraj
Top achievements
Rank 1
Answers by
Christopher Susilraj
Top achievements
Rank 1
Galin
Telerik team
Pavlina
Telerik team
Share this question
or