Return to Snippet

Revision: 47490
at June 9, 2011 03:11 by kbrown


Initial Code
<?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>');
}
?>

Initial URL

                                

Initial Description

                                

Initial Title
PHP Hide CSS id/class for iPad

Initial Tags
css, php

Initial Language
PHP