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

Grid th css background image not displaying

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sanjeev
Top achievements
Rank 1
Sanjeev asked on 21 May 2010, 03:17 PM
Hi, we have impliment the rad grid with custome css all setting are working except the setting the header background image, one strange thing is happing that the same piece of code is working in my localhost but the same code of piece is not working the the Deployment env. We are using the code piece and use the property EnableEmbeddedSkins="false" for the grid. i am attaching the image file.

.RadGrid_Office2007

 

.rgHeader,

 

 

.RadGrid_Office2007

 

th.rgResizeCol

 

 

{

 

border:solid #5d8cc9;

 

 

 

border-width:0 0 0 0;

 

 

 

background:0 -1900px repeat-x url('/Images/Telerik/Office2007/Grid/sprite.gif');

 

}

 



Thanks,
Sanjeev

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 May 2010, 03:50 PM
Hi Sanjeev,

The CSS code is OK. Please make sure that the image URL (which is absolute due to the initial / ) is correct on the dev server:

background:0 -1900px repeat-x url('/Images/Telerik/Office2007/Grid/sprite.gif');


Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Sanjeev
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or