Click here to Skip to main content
14,872,753 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am dynamically increasing a div code at server side to accomodate the columns, while doing so it is not adjusting the whole layout ... and when the width becomes more than 1920px, the layout breaks [viewing site on monitor with 1920*1200 resolution], you can check the problem here on the fiddle.

Please suggest how to dynamically adjust it.
#realJSOP 21-Dec-11 9:47am
What EXACTLY do you expect to see, and what browser are you seeing the problem with?
Safran Ali 21-Dec-11 9:53am
as the columns [i.e. green boxes] are dynamic, by default it only has 3 column but user can select upto 4,5,6 or 7 and based upon user selection outercontainer, container width is expanded, but the width of the layout [i.e. body and all parent tag of outercontainer remains same width wise] is same. And it is breaks in all browser ...

1 solution

You have specified the container class with "width: 1315px;"
So, try adding the "width: 1315px;" to outercontainer, bodycontainer and body as well.
Hope it helps.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900