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.
Comments
Post a Comment