M
M
Marty McFly2018-06-07 21:21:21
css
Marty McFly, 2018-06-07 21:21:21

Is it possible to demolish already these hacks for ie?

Hello! There is a bunch of css-nicknames, which over the years has acquired a bunch of unused styles for a long time, replacing a bunch of layout designers. I decided to clean it from the excess, at the same time run it through csslinter, an autoprefixer. In styles, a bunch of constructions like

vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;

or
position: relative;;
margin: 0 10px 0 0;;

As I understand it, these are some kind of hacks for gray-haired ie. Are they current or can they be demolished? And the eye is strained and the linter crashes with them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
overveg, 2018-06-07
@alex_shevch

Everything with an asterisk is IE6 hacks, they can already be demolished. And this just looks like a bug:

position: relative;;
margin: 0 10px 0 0;;

A site with a catalog of hacks for all browsers)
browserhacks.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question