A
A
Arthur Koch2011-03-31 13:41:11
css
Arthur Koch, 2011-03-31 13:41:11

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

4 answer(s)
D
Desiderata, 2011-03-31
@Desiderata

Definitely CSS.
I see no reason to overload the site with javascript when the task is solved using CSS.

P
pratamishus, 2011-03-31
@pratamishus

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.

S
Spree, 2011-03-31
@Spree

css

L
lashtal, 2011-03-31
@lashtal

For this particular question , css is sufficient (and 100,500 other solutions googled for "sticky footer").
Most often, the script is needed when css crutches are too slow in ie6.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question