GridView skins and headers

T

tshad

I have a line in my skin:

<HeaderStyle CssClass="GridViewHeader" VerticalAlign="Bottom" />

This handles the header of my GridView.

I want to handle the links in my header.

This works ok if I do this in my style sheet:

..GridViewHeader a
{
background: #000000;
padding: 5px;
font-size:24px
}

but not if I do:

..GridViewHeader th a
{
background: #000000;
padding: 5px;
font-size:24px
}

yet if I do:

th a
{
background: #000000;
padding: 5px;
font-size:24px
}

This works.

In my particular case ".GridViewHeader a" will work as I am only handling
the header portion of the grid with GridViewHeader.

But if I wanted to set the GridView as a class:

..GridView

And I wanted to only handle the links in the header separately (take out the
underline, for instance).

..GridView th a

doesn't work

How would I do that?

What I am trying to say is I want to handle the anchors in the "th" section
of the GridView (not all "th"s, just the one in the GridView).

Thanks,

Thanks,

Tom
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top