don't work respond.js for media query in ie 6-8

Comments

tsi’s picture

I can confirm that.
but unfortunately I can not see why this is happening.
I have also tried implementing Zen's and HTML5 Tools's IE fixes but none of them worked.
I have updated the project page, any help here will be awesome.

BarisW’s picture

What about Modernizr.js?

alexweber’s picture

tsi’s picture

That is a bit too aggressive (some would say ugly), don't you think ?
The guys from Zen and HTML5 Tools have a working solution to the same problem (even though I've never seen it working) so I don't think we should resort to IE hacks.
If no other solution can be found, I prefer :
a. lose the mobile-first approach or
b. load a conditional style sheet (css or scss, doesn't matter) just for lte IE8

alexweber’s picture

I agree that hacks are ugly and should be avoided but at the same time, IE6, IE7 and IE8 are also ugly and should be avoided. :)

tsi’s picture

Assigned: proweb.ua » Unassigned
Status: Active » Closed (won't fix)

Well, 7.x-2.0-beta5 removes the mobile first approach (see #1352364: Lose the mobile-first approach) so media-queries still don't work on oldIEs but now it doesn't break anything assuming that no one runs IE7 on a smart phone.
I won't mark this as fixed but I really don't intend to spend more time on making media-queries work on IEs

alexweber’s picture

I agree 100% with this, some old browsers will get inevitably left behind.

tsi’s picture

Project: 965 » Sasson
Version: 7.x-2.0-beta2 » 7.x-2.x-dev

If someone still needs respond.js - there is now a module for that - http://drupal.org/project/respondjs
moving to Sasson.

BarisW’s picture

As read here: http://drupal.org/project/respondjs - try with CSS aggregation enabled.