M
M
Martyer2015-05-01 07:09:56
css
Martyer, 2015-05-01 07:09:56

How to fix validation errors?

Tyts in IE is clumsily displayed even in version 11, I decided to fix validation errors, it can help ..
But, let's say this error: Value error : color (nullcolors.html#propdef-color) Parsing error
How to fix it? there is a lot of it
Here is the same thing: Parsing error {*zoom:1}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima Pautov, 2015-05-01
@bootd

Well, hacks were never valid!
If you want to make hacks valid, then write them without special signs.
To achieve this result, use the following structure in html:

<!--[if IE 7]> <html class="ie7"> <![endif]-->
<!--[if IE 8]> <html class="ie8"> <![endif]-->
<!--[if IE 9]> <html class="ie9"> <![endif]-->
<!--[if gt IE 8]> <!-->
<html lang="ru">
 <!--<![endif]-->

and now ie will have its own class on the html tag. Through it, you can specify any properties that will only work in ie

R
Roman, 2015-05-01
@paradoxo

The validator is not a panacea. If you use IE hacks ( *zoom:1 ), then they will not pass the check. Here you decide for yourself what you need - valid css or maximum displayability on different browsers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question