PHP Hide CSS id/class for iPad
Copy this code and paste it in your HTML
<?php
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad')) { echo('<style type="text/css">#furnishButton { display: none; }</style>');
}
?>
Report this snippet
Comments
Subscribe to comments