|
|||||||
| CSS Discussion and technical support relating to Cascading Style Sheets. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a page with sortable cols in a table...no problems there but the column headers that you click on to sort up or down are supposed to be underlined then when you click on them a small arrow appears next to the column heading that you are sorting. The text is underlined in IE and the arrow isn't when it appears (how it should be) but in FF the text is underlined and the underline expands out with nothing next to it - like a space was put there and when you click to sort the column the arrow is underlined. I have 2 .css files so I can load the right one either for IE or FF . Here is the code that applies to both and you can see that the arrow clearly says text deco. None...so why is the arrow showing up text deco. underlined in FF and how can I fix it??
Thanks in advance Amy /* Sortable tables */ table.sortable a.sortheader { color: #ffffff; FONT-FAMILY: arial,verdana,helvetica,sans-serif; FONT-SIZE: 8pt; FONT-WEIGHT: bold; text-decoration: underline; } table.sortable span.sortarrow { color: white; text-decoration: none; } |
|
#2
|
||||
|
||||
|
Is the arrow inside the anchor?
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#3
|
|||
|
|||
|
Well, here is the line in the .js file that contains the arrow...
Amy cell.innerHTML = '<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;">'+txt+'<span class="sortarrow"> </span></a>'; |
|
#4
|
||||
|
||||
|
<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;">'+txt+'</a><span class="sortarrow"> </span>
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|