775px webpage width

April 16, 2008

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 >
<img src=”https://funbytebitstop.files.wordpress.com/2008/04/775.jpg”/&gt;

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.

Enjoy! 🙂

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.


One comment

  1. […] I posted a pretty cool update to this post. Check it out here: […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: