Heading Style

C

Cathie

Hi All,

I'd like to set my heading style to the following:
..ListHeading, .ListHeading:link, .ListHeading:visited

{

color: Black;

font-weight: bold;

font-family: Verdana;

font-size: x-small;

text-decoration: none;

border-bottom: solid thin gray;

cursor: hand;

}

..ListHeading:hover

{

color: goldenrod;

text-decoration: underline;

cursor: hand;

}



I have set the HeaderStyle.CssClass to "ListHeading" in the properties pane,
but it doesn't completely work. Only the font-size and font-family
properties seem to work (I can change these in my style sheet and it will
change). Does anyone know what is going on? I have sorting turned on, is
this upsetting my style somehow?

Thanks in advance,

Cathie
 
D

David

I have set the HeaderStyle.CssClass to "ListHeading" in the properties pane,
but it doesn't completely work. Only the font-size and font-family
properties seem to work (I can change these in my style sheet and it will
change). Does anyone know what is going on? I have sorting turned on, is
this upsetting my style somehow?

HeaderStyle.CssClass affects the class assigned to the TR element of the
header row. You can't change pseudo-classes like :hover from there.

One solution would be to specify your styles to affect anchors found
inside cells inside the header row. OK, that sentence barely makes
sense even to me, but an example should make it clear...

..ListHeading TD A, .ListHeading TD A:link, .ListHeading TD A:visited
{

color: Black;
font-weight: bold;
font-family: Verdana;
font-size: x-small;
text-decoration: none;
}

..ListHeading TD A:hover
{
color: goldenrod;
}
 
C

Cathie

Thank-you very much. This worked a treat when I just left the "A" for
:link, :visited and :hover.
 

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,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top