I would like to use a php script that determines the screen resolution or browser size of a visitor to the site and then deliver a php/html page that links to a particular css based on the result.
I have found an example of how to deliver the css based on the type and version of the browser, but not screen size or resolution.
I would prefer to do this (it is possible) than to use a javascript approach.
Is anybody able to assist me with this enquiry?
I have found an example of how to deliver the css based on the type and version of the browser, but not screen size or resolution.
I would prefer to do this (it is possible) than to use a javascript approach.
Is anybody able to assist me with this enquiry?