of course you can if you use device size dependant css rules and import an url e.g. in form of an 1px gif dummy that submits the width / height as get parameters. of course that would cause a big css file that you would probably generate using a script, but it *is* possible to track the dimension without any javascript in pure css and submit it back to the server.
This is a 13 year old thread. Better to start your reply with, "Today you could try this monstrous hack that wouldn't work on some browsers and might need a couple dozen subrules to account for view-port resolution and browser behavior" instead of, "Of course you can." :P