Shape 5

Joomla Templates => eTensity - May 08 - Club => : speleo May 27, 2008, 04:32:30 PM



: Section table header CSS and <a></a>
: speleo May 27, 2008, 04:32:30 PM
When you have a section or category view which displays the articles for you to choose from a list the the css is a bit skewed. The reason for this would appear to be because some text picks up CSS due to a <a> [/url] assignment.

See example below.

:
<tr>
        <td class="sectiontableheader" width="5%" align="right"> # </td>
        <td class="sectiontableheader" width="45%">
                <a title="Click to sort by this column" href="javascript:tableOrdering('a.title','desc','');">Article Title</a>
        </td>
        <td class="sectiontableheader" width="5%" nowrap="nowrap" align="center">
                <a title="Click to sort by this column" href="javascript:tableOrdering('a.hits','desc','');">Hits</a>
        </td>
</tr>
Any idea where to fix this?

See example image, some of the text is white and some is black (on dark grey).

Cheers,  Henry


: Re: Section table header CSS and <a></a>
: jonahh May 29, 2008, 12:59:32 PM
Ah yes, thanks for pointing this out.  This only occurs in J 1.5 and the downloads have been updated to fix this.

What you can do is simply add the below code to your template_css.css file to fix this:

:
.sectiontableheader a{	
color:#FFFFFF;}

Regards,


: Re: Section table header CSS and <a></a>
: speleo May 29, 2008, 02:03:07 PM
jonahh, thanks for sorting out both my posts.