[css] ie6에서도 png파일을 사용해 보도록 합니다..
본문
<style type="text/css">
/*
USAGE:
Copy and paste this one line into your site's CSS stylesheet.
Add comma-separated CSS selectors / element names that have transparent PNGs.
Remember that the path is RELATIVE TO THIS HTML FILE, not the CSS file.
See below for another method of activating the script without adding CSS here.
*/
img, div, input { behavior: url("iepngfix.htc") }
/*
Here's an example you might use in practice:
img, div.menu, .pngfix, input { behavior: url("/css/iepngfix.htc") }
*/
</style>
/*
USAGE:
Copy and paste this one line into your site's CSS stylesheet.
Add comma-separated CSS selectors / element names that have transparent PNGs.
Remember that the path is RELATIVE TO THIS HTML FILE, not the CSS file.
See below for another method of activating the script without adding CSS here.
*/
img, div, input { behavior: url("iepngfix.htc") }
/*
Here's an example you might use in practice:
img, div.menu, .pngfix, input { behavior: url("/css/iepngfix.htc") }
*/
</style>
추천0
chrischu님의 댓글
chrischu쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일이런 방법이 있었군요! 투명png 이상하게 나와서 고민이었는데 ㅜㅜ