I'm trying to make my website use different style sheets for different resolutions. I know that I need to use the media attribute, but I don't know how to set it from the minimum to the maximum resolution.
Without having some server side scripting going on to serve different source code I don't think this would be possible. I could also easily imagine this kind of approach quickly getting messy to code and very time consuming to maintain.
A much better approach in my opinion is to build your site to cater for the vast majority of users, you will find a very small percentage of people have horizontal resolutions of any less than 1024, so if you go for a maximum site width of 980px or there abouts for you site you will be catering for all but the absolute minority.