GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Replacing explicit width values with relative % values, to allow for a dynamic design.
To see the effect in the demo, you can remove the width attribute of div#wrapper and then resize the browser.
Note that a fix to the demo would be required so it looks the same as before (probably wrapping it in a fixed width element).
Possible improvement: allow passing width as a parameter (to override '100%').
Replace explicit width values with relative % values, to allow for a …
The idea is good and the CSS seems to hold on, but I would perform a check to see of the layout is dynamic instead of forcing it on a static layout (perhaps check of the style set is using percentage instead of a fixed unit?