Answer the question
In order to leave comments, you need to log in
jquery vs. Сss+Crutches. Who are you betting on?
This question brought me to the discussion .
And the essence is simple and this: which option would you prefer when making layout? Make it cross-browser with a script, or squeeze out everything that is possible in CSS and tweak it with a script?
Answer the question
In order to leave comments, you need to log in
Definitely CSS.
I see no reason to overload the site with javascript when the task is solved using CSS.
Complex issue :). It all depends on your requirements for the project. The "question" given in the link is easily solved with jQuery. If it's so important to you that it was like in the question asked, then using JQuery will make it easier, but for beauty, it is advisable to do something like "Loading", which disappears after the page is completely loaded.
And squeezing everything you can out of CSS is a good idea. Why don't you put them together.
And one more thing - why is everyone so afraid to use tables (as in the question asked)? They show great results both in terms of code and page view. The main argument against tables is mainly that they load the page and the browser heavily - so you don’t need to use them everywhere. Rational use of tables will only speed up loading and work. To be honest, I don't understand this "phobia". If you need authorities, take Google, Yandex and the same habr :). Some people do dozens of times more code and load browsers using JQuery+CSS to avoid using tables. In my opinion, you need to be more rational and not run into the gate because of some dogmas.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question