Cookie Policy: This web site uses cookies. By using this site you agree to our cookie policy.
Disclaimer: By posting on this web site it is accepted that you have agreed to the T&C. This is an information forum, and it is just that information, all views are of the individual poster and not that of the site owner. Please DO NOT publish copyrighted material without the owners permission. If you copy news or articles include a link back to the original site. Threads/Posts may be deleted on request. No other links without permission.
BEFORE POSTING A QUESTION: Your question has probably been asked before, so please use the
SEARCH FUNCTION, as we grow tired of answering the same question again and again.
Results 1 to 2 of 2

Thread: ASP.NET targetting "disabled" through CSS for IE

  1. #1

    Join Date
    Nov 2002
    Location
    London Town
    Posts
    12,193
    Rep Power
    107

    ASP.NET targetting "disabled" through CSS for IE

    I am using the following control generated through a CMS:

    HTML Code:
    <ol class="sf_pager">
        <li>
            <a id="ctl00_Content_ctl00_ctl00_ctl00_ctl00_pager2_ctl00_PageRepeaterLinkButton_ctl01_SingleItem" class="sf_PagerSelItem" disabled="disabled">1</a>
        </li>
    </ol>   
    I am trying to change the colour of the "disabled" part of the anchor link (at the end of the above scroll box) through the following CSS target:

    Code:
    ol.sf_pager li a.sf_PagerSelItem
    {
        color:#E1143B;
    }
    This works in Firefox for the anchor tag generically, but IE is reading something separate from the generic anchor tag colour. I've tried searching Google but do not know how to target it properly so that it works in IE also (it's currently showing up in grey in IE whereas the hex #E1143B is an off-red colour).

    I think the CSS for IE must be something like:

    Code:
    ol.sf_pager li a[disabled="disabled"].sf_PagerSelItem
    {
        color:#E1143B;
    }
    But I can't get it to work! Bit of a longshot but if anyone can help out I'd really appreciate it.

    Please take a look at:
    My Photostream on Flickr



  2. #2

    Join Date
    Nov 2002
    Location
    London Town
    Posts
    12,193
    Rep Power
    107
    Nothing then...? It won't work. :(

    Please take a look at:
    My Photostream on Flickr



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jockey Brian Toomey remains in a "stable condition"
    By Win2Win in forum Horse Racing Discussion, Daily Waffle, Q&A
    Replies: 0
    Last Post: 9th July 2013, 08:28
  2. "It's a Cracker" Farewell to "The Way He Told 'Em"
    By TheGoodGuy in forum Off Topic Chat
    Replies: 4
    Last Post: 22nd March 2012, 08:58
  3. Replies: 3
    Last Post: 2nd September 2010, 17:36
  4. Replies: 8
    Last Post: 12th December 2009, 12:45
  5. New Member Question - "Monthly" Tips in Flat and NH Winbets?
    By jamesius in forum Horse Racing Systems Help , Advice, Info, Ideas, Rules, Testing, etc
    Replies: 2
    Last Post: 14th May 2007, 13:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Free Tips | Betting Advice | UK Horse Racing Tips | Free Bets | Staking Advice | Horse Racing Systems | Horse Racing Lays | Laying System | UK Horse Racing Tips | lay betting