Problem with hyperlinks in header

Started by bosswhite, May 16, 2013, 07:26:22 AM

Previous topic - Next topic

bosswhite

I have created the following additions to the inex.css file

.pageheader01  {
    FONT-WEIGHT: bold; FONT-SIZE: 28px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none; caption: Heading Text Blue
}
A.pageheader01  {
    FONT-WEIGHT: bold; FONT-SIZE: 28px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none; caption: Heading Text
}
A.pageheader01:hover  {
    FONT-WEIGHT: bold; FONT-SIZE: 28px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none; caption: Heading Text
}
A.pageheader01:link  {
    FONT-WEIGHT: bold; FONT-SIZE: 28px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none; caption: Heading Text
}
A.pageheader01:visited  {
    FONT-WEIGHT: bold; FONT-SIZE: 28px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none; caption: Heading Text
.superscript  {
     FONT-SIZE: 15px; COLOR: #2D4D6A; FONT-FAMILY: Arial, Helvetica, sans-serif; vertical-align:top; caption: Small Text Superscript
}
}


Then, in a html block on my portal index page I have the following

<table width="100%" border="0" cellspacing="2" cellpadding="5">
<tr>
<td colspan="2" align="center" class="pageheader01">The number one site for
<a href="http://www.somesite_1.com" target="_blank">Link_1</a><span class="superscript">™</span>
<a href="http://www.somesite_2.com" target="_blank">Link_2</a><span class="superscript">™</span> and
<a href="http://www.somesite_3.com" target="_blank">Link_3</a><span class="superscript">™</span> users...<br/><br/>
</td>
</tr>
</table>


What I am trying to achieve is that the text (and links) remain the same colour and size with no text decoration no matter what the condition (hover, click, etc.), but cannot achieve it.
Can anybody please tell me where I am going wrong?
I've been down so long now it's beginning to look like up..

MrPhil

Without my CSS reference at hand, I can't tell you for sure what will be inherited from the td class "pageheader01". Try this first: change your A.pageheader01 to TD.pageheader01 A and see if it picks it up now. Currently you're looking for <a class="pageheader01" ... which doesn't exist.

Arantor

Yup, td.pageheader01 a is what is needed here.

bosswhite

I've been down so long now it's beginning to look like up..

Advertisement: