Awhile back I posted what the standard size for a web page’s width should be. I noticed that it has been very popular amongst readers and have decided to put a cool update.
Copy and paste the following code to notepad (or equivalent) and save it as an htm file:
<body leftmargin=0 topmargin=0 >
Put your monitor’s resolution to 800×600 and preview the file you just created in any browser. Now you can see for yourself that 775px is the perfect standard web page width.
NOTE: When pasting this code, you may have to replace the double quotes with your own double quotes when referencing the img src (image source). For some reason when I copy and paste the code into notepad and saved it, it didn’t understand the double quotes, so you’ll have to put your own in by literally replacing it with your own double quotes. Ugh.
Also, it is always a good idea to put your values in double quotes. I omitted putting double quotes for the leftmargin/topmargin values because it was being annoying when I copy and pasted it. Some browsers are forgiving of this and don’t mind omitting the double quotes, however, you should always put your values in double quotes when using HTML.