apply css to header of gridview

T

tarscher

Hi all,

I have tried to apply a css with a repeating background image to the
header of a gridview but without succes.

..gridview
{
background-image: url(images/icon_delete.gif);
background-repeat: repeat-x;
font-size: 2em;
}

and use
<asp:GridView ID="TestGridView" runat="server" EnableViewState="False"
HeaderStyle-CssClass="gridview">

The font is rendered bigger (2em) but I don't see the image. I also
tried other images but no succes.

Someone has a clue what I do wrong?

Thanks
Stijn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,250
Latest member
Charlesreero

Latest Threads

Top