스타일 적용
style_a.css 와
style_b.css 가 있습니다.
게시판 view.skin.php 에
IE 10 일때는 style_a.css 를 적용하고
나머지 브라우저일때는 style_b.css 를 적용할려고 합니다.
<?if(preg_match("/msie 10.0[0-9]*/", $agent)) {?>
<link rel="stylesheet" href="<?=$g4['path']?>/style_a.css" type="text/css">
<?}?>
이렇게 하니 안되던데 어떻게 해야할까요.
style_b.css 가 있습니다.
게시판 view.skin.php 에
IE 10 일때는 style_a.css 를 적용하고
나머지 브라우저일때는 style_b.css 를 적용할려고 합니다.
<?if(preg_match("/msie 10.0[0-9]*/", $agent)) {?>
<link rel="stylesheet" href="<?=$g4['path']?>/style_a.css" type="text/css">
<?}?>
이렇게 하니 안되던데 어떻게 해야할까요.
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개
msie 10.0[0-9]*여기서
* 필요없는것 같은데...