E
E
Enniack2015-09-09 00:57:20
Layout
Enniack, 2015-09-09 00:57:20

Is this enough for cross-browser layout?

I read the entire branch about cross-browser compatibility, googled it, but didn’t understand anything.
Is it true that in order to ensure cross-browser compatibility (major browsers and ie10+), a developing site needs to use normalize.css, html5shiv, modernizr, and then just put the correct state in the necessary elements instead of the default state? Well, prefixes, of course.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Novikov, 2015-09-11
@Enniack

There is no "silver bullet" here, otherwise no one would have bothered with cross-browser compatibility for a long time :) It would be great - I connected a couple of libraries, wrote styles and everything is displayed well everywhere.
In fact, everything is somewhat more complicated. And the layout should be tested in all target browsers in any case. It happens that like css is debugged, everything seems to be supported, but FF and Chrome calculated the distance in pixels differently, and in one block it crawled away, but not in the other. Even though it doesn't seem like it should be.
In general - no, not enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question