I have tried to do site with two main divs, where one is a panel in the left side and it has css height parametr with value like $(document).height(), becouse i want it on all site height. I have used jquery selectors:
set_panel_height() is function which does operation like above.
Everything's ok, but when i load next time (the same or another file) with ajax, $(document).height() returns value 35px larger everytime, so my panel and all the site is higher, and higher, and higher....
Why? Is there another way to make div's height like document height? Thanks in advice, Dominik.
PS. Sorry for my spelling, my english isn't so good...