Very useful print styles for long tables

For the second time I had to set print styles for a long table.  I'm adding the code here so next time it will be easier to find.

Continued...

Server Control to dynamically resize image and cache result.

When building websites I often end up with a high resolution image that needs to be displayed in many difference sizes, from thumbnails up.  When I first hit this problem I searched the web and found a lot of advice on building an http handler to resize the image in memory and send it down to the browser.  You end up with code like:

Continued...

First Beta Released

IE8 has been released. http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/Install.htm
Now I just need to find a way to try IE8 and keep IE7.

Continued...

For designs and images.

I'm not a designer in any way, I write code, however sometimes I find myself needing to create a website without the help of a designer.  In those cases there are a few websites that I find extremely useful, if you know of any more let me know.

Continued...

Dean Edwards has released IE7 version 2.0

http://dean.edwards.name/weblog/2008/01/ie7-2/

Continued...

10 things websites try to control, but shouldn’t.

Too often I encounter a website which takes over my browser and ruins my browsing experience. Sometimes I even see posts by new web developers looking for techniques to control a user’s browser and browsing behavior.

Continued...

Why is it that whenever a website is started everyone’s first thought is about how it will look. An image editor is opened and graphics are thrown onto the screen. The result is then converted into html and css, usually by some WYSIWYG editor that gives it all absolute positioning. Then there are complaints that the footer should be at the bottom not right under the header or that background images are not lining up. All the while the page has absolutely no content!

Continued...

Crop, rotate, and resize with asp.net

Introduction

This is an online image editor which allows quick editing of images already uploaded to a server running asp.net. It currently supports:

Continued...

IE6 loves wasting bandwidth.

A friend of mine visited my site and suggested I turn on http compression.  He was even kind enough to provide the code necessary.  Everything went smoothly until I discovered IE6 can not handle compressed css files.  IE6 only interprets some of a css file that has been compressed.  I don't know exactly which parts it chooses to ignore, but background-images are definitely one of them.  I was forced to turn off http compression, but luckily only for IE6 and below.  Here is the C# code I used to determine if it could handle compression:

Continued...

Skills no web developer should be without.

I started building websites using notepad and a browser. I eventually moved on to programs which provided syntax highlighting and code completion, but I never stopped writing code. Yes WYSIWYG editors may be helpful, but personally I need to know what I’m publishing. So if you have already judged me as a dinosaur trying to hold on to days past soon to be extinct feel free to write this article off as a rant, but if you want to become a better web developer get back to the basics.

Continued...

Lost in an instance.

It’s common for programmer’s to cache data in order to improve performance. Constantly reading data from a database or file can be very resource intensive and can significantly slow down a website. I need to remember however that there is no guarantees on what will stay in the cache and what will be pushed out. Obviously I never use the cache to hold data which is not saved in a permanent location, otherwise when the memory fills up that data may be lost forever, but often I see code like this:

Continued...

I've been looking for an open source ajax file manager to use on my asp.net 2.0 website.  I instinctively went to google to find that almost every result pointed back to BinaryIntellect's website file manager.

Continued...

...switch browsers.

Visiting one of my favorite forums I came across a thread talking about making the switch from Internet Explorer to Firefox.  I had the unpleasant experience of reading the following quote:

Continued...

First weblog entry.

Everyone else has a weblog so here is mine.

I have built a weblog into this cms.  I'd like to thank SemPerKit, as I referenced the code quite a bit.

Continued...