What css hacks for IE 6 and 7 are future proofs?

What css hacks for IE 6 and 7 are future proofs? I mean, if I use then, then they will never create any problems and their patch will never be implemented?

manage 2 css one for all and one for IE takes a lot of time and it adds another stylesheet. and if any hack can solve the problem mainly css, then this is a temporary program, and when several people are working on the same project, then most of the time we forgot to make changes to the conditional CSS too.

I do not ask about the style of conditional styles

+3
source share
6 answers

.
IE, ( .. , , ) ..


[ ]
. , (, css).

. , css IE6 , 100% .

(, ), IE, , ...

, , , . , , .

+24

- , , . , , , . IE6, IE7 IE8, , . .

+2

, . , spesific - .

, jQuery . " IE6", " - "

+1

, .

_background: #ff0000;
+1

, CSS , CSS .

body {
   background: url('background.jpg') center;
   background: url('background-top.jpg') top, url('background-bottom.jpg') bottom;
}

, , , . CSS Internet Explorer, .

<head>
    ...
    <!--[if lt IE 8]><link rel="stylesheet" type="text/css" src="ie7.css" /><![endif]-->
    <link rel="stylesheet" type="text/css" src="generic.css" />
</head>
+1

/ , - .

0

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


All Articles