I see many websites that make simple design mistakes, that are extremely painful to fix after they've been made. Therefore, this is the non-comprehensive list of suggestions compiled so far (subject to update).
--Feel free to suggest new ideas and edit/correct existing ones.--
--Feel free to suggest new ideas and edit/correct existing ones.--
- Denote font size in em or %, at least 1em or 100% for body text.
This makes it so the font size automatically scales with the resolution, and is easily readable.
- Use CSS for all your formatting needs, don't format inline unless it is for a specific instance.
- Don't use frames if you can avoid it, everything they can do can be done with PHP (includes) and CSS.
- In general don't set a fixed page width, set the width of the website in % of the entire screen. Make sure to set a minwidth and maxwidth though, so the website doesn't become a mess at high/low resolutions and with widescreen monitors. If designing for a fixed width (it does give you more design options) 800x600 still should be the goal, definitely designing for less than 1024x768.
- Use JPEG images for any photographs/complex images, GIF for any animation, and PNG for everything else.
- Try to avoid putting text as an image, this reduces page size drastically.
- Format your page in UTF-8, it opens up a whole world of new text characters you never knew existed.
- Test your page's rendering in at least IE6, IE7, and Firefox. Safari, Opera, and Konquerer if you feel like it. Test often and early, it will save a lot of time later on.
- In general stick with white on black or black on white body text to keep page readability.
- No matter what you design your site in, validate it with W3C online validation. Your site doesn't have to be perfectly valid, but it's much easier to track down rendering bugs when you know it isn't because you forgot to close a tag.
