SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    :target, sftarget alternative for IE?

    Hello all,

    I'm using the :target selector for a client for their site. Of course, it works in FF, Chrome and Safari, but not IE. I attempted to use the suckerfish javascript, but it doesn't look like it works.

    Are there any alternatives I could use?

    You can go to http://diginnovations.com/serenity/construction.php to view it in action.

    Thanks!

  2. #2
    SitePoint Guru team1504's Avatar
    Join Date
    May 2010
    Location
    Okemos, Michigan, USA
    Posts
    732
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Welcome to sitepoint,
    There are not many css3 alternatives for ie unfortunately. & none that I know, even ugly hacks, that could replace the pseudo-class :target.


    I would reccomend a css 2.2 alternative If possible

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,380
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    You could try this.

  4. #4
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    You could try this.
    Thank you so much! That did the trick.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •