www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > CSS

    CSS Discussion and technical support relating to Cascading Style Sheets.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 04-27-2006, 04:07 PM
    Classerv Classerv is offline
    Registered User
     
    Join Date: Mar 2006
    Posts: 19
    Question FF showing weird underline...

    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;
    }
    Reply With Quote
      #2  
    Old 04-27-2006, 11:49 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    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
    Reply With Quote
      #3  
    Old 04-28-2006, 01:11 AM
    Classerv Classerv is offline
    Registered User
     
    Join Date: Mar 2006
    Posts: 19
    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">&nbsp;&nbsp;&nbsp;</span></a>';
    Reply With Quote
      #4  
    Old 04-28-2006, 09:43 AM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    <a href="#" class="sortheader" onclick="ts_resortTable(this);return false;">'+txt+'</a><span class="sortarrow">&nbsp;&nbsp;&nbsp;</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
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:26 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.