Questions tagged [selectivizr]

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8

Selectivizr adds support for 19 CSS3 pseudo-classes, 2 pseudo-elements and every attribute selector to older versions of IE. It can also fix a few of the browsers native selector implementation.

Selectivizr works automatically so you don't need any JavaScript knowledge to use it — you won't even have to modify your style sheets. Just start writing CSS3 selectors and they will work in IE.

34 questions
13
votes
0 answers

Alternative to selectivizr.js

The selectivizr.js project's last update is a year ago and with many PR & Issues. Is there any better alternative to selectivizr.js?
linjunpop
  • 211
  • 1
  • 4
  • 11
13
votes
1 answer

Why is it not recommended to use a polyfill for CSS3 selector support?

I need to ensure IE7 and IE8 support. I'm using a few CSS3 selectors like :last-child. I dropped in Selectivizr, and it appears to fix many problems in those browsers, leaving me just a handful to clean up with some fallback code. But HTML5 Please…
callum
  • 34,206
  • 35
  • 106
  • 163
10
votes
5 answers

Why is selectivizr.js causing "white screen of death" in IE8?

Including selectivizr.js is causing IE8 to not display/render anything at all, but IE8 in IETester manages. It also downloads everything, I can see that in the activity bar and the DOM inspector. And the links are even there, I see that when moving…
Eystein
  • 696
  • 1
  • 8
  • 19
6
votes
2 answers

How do I use Selectivizr to make the Bourbon Neat grid work in IE8?

I have the unfortunate task of making Bourbon Neat work with ie8. Thoughtbot's docs say you use Selectivizr for this. I followed Selectivizr's instructions and I see nothing different when testing in ie8. I also don't understand what if any fallback…
user1200468
  • 65
  • 2
  • 6
6
votes
1 answer

Selectivizr causes select dropdown to require two clicks to open in IE8 & below

I recently implemented Selectivizr on an internal company website as we need to support IE7/8. Unfortunately, our site does a lot of dynamic content loading via jQuery/AJAX. To solve this problem, I overloaded the jQuery ready function to reload…
3
votes
1 answer

Issue loading selecvizr to <=IE8 only using yepnope (modernizr.load)

I am trying to load selectivizr via yepnope (Modernizr.load) but am having issues with the test command. At the moment I have hacked it using rgba (as that affects <=IE8) but it also affects older Opera and FF browsesrs too, so not ideal (and looks…
Adi
  • 4,034
  • 13
  • 56
  • 78
3
votes
2 answers

Troubles getting Selectivizr to Work

I am having troubles getting Selectivizr to work even with a very simple page. What did I do wrong? http://jiewmeng.kodingen.com/playground/selectivr.html
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
3
votes
2 answers

CSS3 Selectors in IE8?

Alright, so I recently found this script called "Selectivizr" and I was really excited, but I plugged it into my project, set it up just as it said, and it didn't work. So, what I am looking for is any sort of JavaScript library/script that will…
ndugger
  • 7,373
  • 5
  • 31
  • 42
2
votes
1 answer

Selectivizr :first-of-type and nth-of-type not working in IE8

I'm starting a new project, and since it won't use much javascript, I decided to switch from Jquery to Mootools only because of the range of pseudo-class selectors it will let me use. Problem is, it still won't work! In IE8, I can't get…
2
votes
1 answer

Selectivizr IE8 White screen of death

I'm using Respond.js and Selectivizr for IE8 media query and CSS3 property support. Unfortunately it causes this famous white screen of death... When removing the selectivizr script it's working fine. I searched through stackoverflow and found some…
damian
  • 5,314
  • 5
  • 34
  • 63
2
votes
2 answers

Make first-child and last-child work in IE8

In my project, I am trying to make the below css work in IE8 using selectivizr thead>tr:first-child>th:last-child { color: red; } tbody>tr:first-child>td:last-child { color: red; } As described in Selectivizr website, I added the below…
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
2
votes
0 answers

selectivizr not working for nth-child(2) in IE7 and IE8

Looking at the resulting CSS in IE developer tools a simple rule such as .filter-dates .date-picker:nth-child(2) { margin-left:200px; } shows up in IE as UNKNOWN margin-left:200px; We use the latest JQuery lib and according to the…
Jacques
  • 6,936
  • 8
  • 43
  • 102
1
vote
1 answer

HTML5 Boilerplate + Conditional Comments

I am using the HTML5 Boilerplate and never had a problem with it until now, when I have started using Selectivizr. For some reason, which I dont understand, IE8 produced a Javascript error. After some testing, I noticed that the error was gone when…
r0skar
  • 8,338
  • 14
  • 50
  • 69
1
vote
1 answer

Selectivizr and CSS on a CDN does not work

When I reference CSS and selectivizr.js on a CDN, the :last-child pseudo class does not work. If however, I reference just selectivizr.js on the CDN and the CSS locally, the pseudo class works. Any thoughts?
user1512126
  • 99
  • 1
  • 1
  • 7
1
vote
0 answers

Selectivizr working on nth-child(x) but not nth-child(odd/even)

I'm running Selectivizr and using nth-child(2n+1) for the background color on table rows and it's working fine in IE7 and IE8, but for some reason it's not working for nth-child(odd) where I'm using it for a right margin. Any ideas…
1
2 3