One Web: "Forget the mobile web: One site should work for all. Making two or even three mediocre sites, designing and user-testing them, then trying to keep them in sync is a waste of time and money. Concentrate on preserving the 'One Web': that is, make one really good site that works across all devices". Bruce Lawson
How to make a site work well on all devices with Internet access? Here's one possible solution to this difficult problem. This Web page template automatically reconstructs sites for all screens without subdomains or media specific stylesheets. It works properly for mobile devices with screen widths of only 240 pixels to the resolutions present on all desktop displays using universally available features. We are going use accessible to all browsers CSS float Property. Unfortunately CSS float has disadvantages that shoud be fixed on the fly with a short script:
| Page with standard CSS float Property. Free space in the browser window is not used. | ![]() | ![]() | ![]() |
| TAMPLATE Page. Blocks occupy 100% of the browser window. | ![]() | ![]() | ![]() |
| Start | Step 1 | Step 2 |
On the proposed template pages use simple scripts that control the coating process to release a screen space by increasing to 100% of the width of the blocks. Also scripts carry out events handling resize the browser window and Refresh.