: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!

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 :slight_smile:

You could try this.

Thank you so much! That did the trick.