I have two divs side by side. Div1 width is 200px and Div2 should fill the screen. To do this, I use jQuery and detect the screen with and then substuct 200 from it. But if I use this way, jQuery slows down the browser. So I'm searching a better way rather than using jQuery. What is the best way to do this?
Update :
I forgot to write that float did not fixed my solution.
Thank you I'm going to check the answers.