![]() |
Rim Thoughts And Ideas |
![]() |
||
|
|
Controlling Page SizePage File Size = Download Time
Controlling your page size is important to the use of your site. Page size refers not only to the length and width but also to the page file size. Both of these page attributes affect your viewers experience of your web site and cause viewers to linger or leave. Page Length And Width: Page width is a special peeve of mine. I dislike sentence line lengths that are as long as the screen is wide, especially on monitors greater than 800 pixels wide. Studies have shown that readers have an easier time with shorter line lengths. This may be because of the short line lengths used by newspapers and paperbacks. I prefer a line length of approximately 500 pixels (approx. 6 inches) or slightly less. I have seen shorter lengths but if the lines are too short the page length can get out of hand. Unless you have a very good design reason, I suggest making the total page width fit on an 800-pixel wide monitor. This is still a very common monitor resolution setting but even if viewed on higher resolution monitors, the page is clear and readable. This means that if either a table or CSS is used to define page width, make sure the total width is approximately 780 pixels, including the navigation panels. This allows the page to be viewed on an 800-pixel monitor without the horizontal scroll bar. Page File Size: You can control page file size by controlling the size of any page images and by ensuring the images for web viewing are no greater than 100 dpi in resolution. A 300 dpi and 100 dpi image will look almost identical on most monitors (Most monitors are 72 dpi.) so why increase download time for no real gain. Also, don’t insist on 16- or 32-bit color depth if 256 colors displays the images just as well. If you feel a higher resolution and color depth is needed, use a small image as a link to the larger image. JavaScript: JavaScript menus are neat and convenient but they can be a download headache and cause search engine problems. If the menu is used on every page or even on only one or two pages, place the script in an external file. Be sure you use HTML links somewhere on the page to supplement the script menu; otherwise, search engines will not be able to find the other site pages. Cascading Style Sheets: Using CSS removes the clutter from your page and allows humans and search engines to find page-relevant text much easier. As with JavaScript, use an external CSS file to reduce your page size. CSS files are usually small in file size but by removing the CSS from on-page, the text is not overshadowed by page code. Wrap Up: Make the web a better experience for everyone - work toward faster page downloads. Remember, no one complains if a page loads too quickly.
|
|
||
|
Copyright 2002 - 2008 By Rim Thoughts Site Owner |