[Solved] jQuery css height not applying


The only logical reason for this is that jQuery('#main-content') in your first line is not the actual jQuery object representation of the DOM element of your choice.

You will have to figure that out yourself as to why things turn out this way.

1

solved jQuery css height not applying