Is CSS dependent on ActiveX?

I have my page working in FF, Chrome, Safari and even in IE8 ... while ActiveX is active.

[link removed]

To get CSS3 features (rotation, opacity, text shadows) working in IE8, I had to use ActiveX filters. My problem is that when you first visit the site, a pop-up window appears with a heading that users should click, then click "Allow", then click "OK." I do not think most IE users will do this.

So I would like the default layout in IE8 (before ActiveX) to look decent by moving the title (my name) down and giving it a solid background color. However, if I add these styles, this will make the page bad if the user allows ActiveX.

I don't seem to think of a CSS workaround for this, does anyone have any ideas?

Thank! Jeff

EDIT: To clarify, I'm not trying to get rotation, opactiy, etc., working in IE8 without filters. See Response to Olafur for clarification ...

+3
source share
3 answers

So, firstly, the good news:

My problem is that the first time I visit the site, a pop-up window appears with a heading that users should click, then click "Allow", then click "OK." I do not think most IE users will do this.

IE , " ActiveX " 'Enabled'. , , , ActiveX .

- , - ActiveX, , . , ( , , , , , ), JavaScript.

- , :

h1 {...}
p {...}

, , ActiveX, body, ax-en. :

.ax-en h1 { /* -ms-filter stuff and associated rules */ }
.ax-en p { /* -ms-filter stuff and associated rules */ }

, modernizr.js, .

+2

ActiveX, , - , CSS.

+1

, : , . CSS filter, ActiveX IE8.

However, for other functions - shadow borders, border radius, etc., I suggest you study CSS3Pie , which allows you to support a number of modern browser functions in CSS in IE (even in the ever hated IE6).

You will be able to do all these functions in standard CSS with the release of IE9, but for now it will not, and you will still have to deal with IE8 (and IE6 and IE7) for some time to come, even when IE9 is released.

+1
source

Source: https://habr.com/ru/post/1773529/


All Articles