deshi2003
08-29-2009, 09:02 AM
Hy all,
i think u all are doing better. please give me a suggestion.
you all aware about cross browser issue and the disturbance of internet explorer. when there is a scene where firefox and internet explorer is showing different output or need different padding, margin i use php to control it. like
$agent=$_SERVER['HTTP_USER_AGENT'];
//echo $agent;
$t= strpos($agent,"Firefox");
<span <?php if($t) echo "style='padding-left:680px'"; else echo "style='padding-left:640px'" ;?> Home</span>
now you it is better practice to control CSS across browsers by using PHP or there is anything better to control it.
*****give me some link of good website where would i get huge cross browser issues.
i think u all are doing better. please give me a suggestion.
you all aware about cross browser issue and the disturbance of internet explorer. when there is a scene where firefox and internet explorer is showing different output or need different padding, margin i use php to control it. like
$agent=$_SERVER['HTTP_USER_AGENT'];
//echo $agent;
$t= strpos($agent,"Firefox");
<span <?php if($t) echo "style='padding-left:680px'"; else echo "style='padding-left:640px'" ;?> Home</span>
now you it is better practice to control CSS across browsers by using PHP or there is anything better to control it.
*****give me some link of good website where would i get huge cross browser issues.