javascript - Changing the width of HTML div element automatically using jQuery -


i have 4 div elements on same line, each set @ 25% width fit screen. when click on div should disappear, have achieved using jquery. then, manually set width of each of divs 33%.

i can keep on doing manually more clicks, there way divs automatically resize them selves using jquery , continue when 2 divs on screen each should 50%?

creating tables solve problem. table columns automatically resize when delete 1 of them. can easly make div's behave table.

http://snook.ca/archives/html_and_css/getting_your_di


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -