javascript - How to make div/table change their size? -


I have a div that contains 3 and 3 divs, and each of them is the table I want them to have the screen size On the basis of the need to resize your shape. The reason for this is because of me: If the page has been opened at 1366x768 resolution then the footer is taken with it and as a result, I am receiving the scrollbar because one of the tables already has the scrollbar itself, Another scrollbar looks ugly. Everything looks fine on the big resolution (except that the tables look small and there is a large amount of empty space below them).

I have read that this CSS can be done with help, but will this sort of solution work on a different browser? (IE and Chrome for example).

Give your code to max-width the external div < / Code> In which there are other DIVs and then use percent% for internal DIV

Assuming you have a container div if If your container is 320px wide it will expand as 33.33%

  960px  as> 320 * 100 / 960 = 33.33%  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -