It isn't possible to do server side - if you do really need to serve a different page you would need to pass the screen size to php with javascript (http://stackoverflow.com/questions/1504459/getting-the-screen-resolution-using-php)
My advice is do it on the client side with css, as you will run into all sorts of problems doing this server side - what if I just have a small window then maximise it for example?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community