Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - apply css to header of gridview

 
Thread Tools Search this Thread
Old 10-31-2006, 12:30 PM   #1
Default apply css to header of gridview


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



tarscher@gmail.com
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gridview row information disappearing after selectedIndexChanged Ry99 General Help Related Topics 0 07-13-2009 03:35 PM
ASP GridView hyperlinks driving me insane! WillC999 General Help Related Topics 0 10-28-2008 11:02 AM
The GridView 'GridView1' fired event Sorting which wasn't handled. rajendrasedhain Software 0 07-08-2008 08:52 PM
Checkbox values problem in gridview thanigaimani.thirumalai Software 0 11-09-2007 05:12 AM
Update and Delete From Gridview Usman Software 0 11-01-2006 10:05 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46