이미지 코드수정
본문
코드를 보면 background로 이미지가 삽입이 됩니다
일반 이미지로 삽입할려고 합니다 ...
<style>
#warp { width:100%; max-width:640px; background-image: url(../mobile/skin/board/basic/img/ooo.jpg); }
</style>
<div id="warp">
또는 이 소스 인데요
<style>
#warp { width:100%; max-width:640px; background-image: url(http://gushopt.cafe24.com//mobile/skin/board/basic/img/ooo.jpg); }
</style>
</div>
백그라운드 이미지가 아닌 ...그냥 이미지 넣기는 어떻게 소스를 바꿔야 하나요 ?
답변 2
<script type="text/javascript">
<!--
$('#warp').html('<img src="http://gushopt.cafe24.com//mobile/skin/board/basic/img/ooo.jpg">');
//-->
</script>
컨텐츠 영역에서 img 태그를 사용하셔야 할것같은데요.
답변을 작성하시기 전에 로그인 해주세요.