My mate also did similar...
His way however, opened up different webpages according to the rez
Basically, the ode was as simple as
IF REZ=800x600 then load "800600.htm"
IF REZ=1024x768 then load "1024768.htm"
Ok, it was a bit more than that, but it really was ridiculous and it worked too!
I myself have always found it absolutely stupid that I come across a website, and its clearly been designed for 800x600 and so with screens these days being 1024x768 at the very minimum, there is always a huge gap on the bottom and right of the page... Its bloody stupid as hell.
Im not very good at webdesign, but at least when I write a web page, I try to get it to look the same no matter what rez and no matter what broswer and even no matter what computer either.
Here are a couple of examples :-
http://northwales-cases.co.uk/
http://fatrakoon.co.uk/
http://www.custom-pc.org.uk/
http://www.the-yc.org.uk/
Nothing special but these web pages should look the same on anyones browser no matter what... Within reason of course! - if you are running a 320x200 screen in Mono then Im sorry, but thats just too much.