This is javascript code !
<script type="text/javascript">
<!--if (screen.width<=699){
document.location="mobile.html";}
//--> </script>
1. "mobile.html" would be replaced with the location of wherever your mobile version . This technique could be better to load alternate stylesheet as well.
<script type="text/javascript">
<!--if (screen.width<=699){
document.location="mobile.html";}
//--> </script>
1. "mobile.html" would be replaced with the location of wherever your mobile version . This technique could be better to load alternate stylesheet as well.