Is it possible to have a W3C compliance code when you need to support IE6? W3

I'm trying to motivate my team members to get our code to test, but there seems to be disappointment because we have to support IE6.

Do you guys have any thoughts for this?

This is what I am going to do:

  • Semantic Code - YES
  • Confirmation Code - YES
  • Works in IE6 - YES

Let's not argue over the semantics here lol. =]

HTML JS CSS

+3
source share
4 answers

Yes, you can have fully compatible code and keep Cruft for IE6 in a separate file (usually):

IE6 IE. , , CSS . , HTML IE6 , CSS:

<!--[if lte IE 6]>
   <link rel="stylesheet" href="/css/ie6.css" type="text/css" media="screen" />
<![endif]-->

, .

, - HTML, - .

- , IE6 .

  • :
  • :
  • IE6:

, IE6, , IE6, IE7 ( IE8), , CSS. CSS, CSS IE6 .

HTML IE6 ( head). .

divs , . divs a bug :)

+11

: !

, IE6. , CSS, . , - IE6, , . . , , .

, , , , .

? ! , , 20% (, ) , , , .

+4

, IE6, , , , .

, , IE6. , , , , IE6. IE6, , , . , , , .

, IE6, , , , , , .

+1

No, this is not possible for any moderately complex layout.

EDIT: At least not adding a lot of ugly conventions.

0
source

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


All Articles