Hello there! It looks like this might be your first time to my website. You should...
Check out ChatPast
 Read and search you
 chat history in the cloud
Subscribe to my
RSS feed
Follow @mkennedy
on Twitter.

Handy Web Development Technique

Thursday, February 25, 2010 9:32:15 PM (Pacific Standard Time, UTC-08:00)
I'm working on a fantastic website that I hope will have significant impact when it's ready. I'm planning on launching in roughly one month.

I came across what I think is an awesome technique for seeing how your web page will look as you edit it. This is WAY beyond WYSIWIG:
  1. Load the page you're working on in ALL the browser you care about. I'm using Chrome 4, FireFox 3.6, and IE 8.
  2. If you have the monitor space, cascade these browsers side-by-side.
  3. Add a meta-refresh tag to the header of that HTML file you're working on (or which consumes the CSS you're building)

       <meta http-equiv="refresh" content="5" />

  4. Now here's the sweet part:

    Edit the page in Visual Studio, notepad, whatever. When you press save all browsers reload their view in a few seconds!

  5. Now you get real WYSIWIG on real browsers.
That's it. The technique is totally low tech and would have worked for years. But I found it really helpful. Hope you do too.

Be sure to keep watching here. I promise a cool site will be announced soon!

Cheers!
Michael
@mkennedy

Tweet this Follow me on Twitter Post this to dotnetshoutout.com Digg this Submit this to Stumbleupon email this post
Friday, February 26, 2010 6:04:07 AM (Pacific Standard Time, UTC-08:00)
Hi Micheal,

This is really a handy trick.

you forgot to mention "Remove the meta-tag before sending it to production" ;-)

Niranjan
solutionvibes.com
Niranjan Thapa Magar
Friday, February 26, 2010 10:56:17 AM (Pacific Standard Time, UTC-08:00)
Niranjan,

Glad you like the idea. You're right. I *REALLY* should have put that in there. Some website will just refresh all the time and no one will know why it makes those "click sounds" in IE.
Comments are closed.