Skip to content

24 ways to impress your friends

Vote down?

Voiture neuve

Hello Sarah,

I’ve something to ask you about your post : you said that the best solution to display a website on an iPhone is not to put some “display:none;” on your css for mobile devices. You spoke about bandwith. Don’t you think that if you redirect your mobile users with javascript, you’ll use also some bandwith ?

The javascript is executed when the total page is loaded. And this page is not the mobile page, but the one for computers. So, I think that the best practice is server-side redirection with PHP or Apache, yes.