Sauter la navigation

[Résolu] how to disable IE 7 support

This support ticket is created Il y a 4 années et 3 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Shawn Il y a 4 années et 3 mois.

Assisté par: Waqar.

Auteur
Publications
#1995391

I'm noticing IE 7 conditional comments in my markup coming from Toolset. We no longer need support for IE 7 and this code is not valid CSS - is there a way to remove it and anything else supporting IE 7?

example:

<style><!--[if IE 7]><style>.wpv-pagination { *zoom: 1; }</style><![endif]--></style>

#1995723

Hi,

Thank you for contacting us and I'd be happy to assist.

There is no option available to disable the backward compatibility support for IE 7, however, the way this CSS code is included in the page, it shouldn't make the page's markup invalid.

You can check your web page's markup in a validator tool like:
lien caché

regards,
Waqar

#1996127

Understood, thanks. I ran my page through a site audit tool and it flagged that as being an error "empty style tag". I guess I have to just ignore it.