테스트 사이트 - 개발 중인 베타 버전입니다

질문좀드리겠습니다./ 채택완료

8년 전 조회 4,520

안녕하세요 질문좀 드리겠습니다 

빨간색 부분에요  파랑내용을 빨강색 안에다 넣고싶은데 어떻게 해야하나요 

 

 

        echo '

/images/banner.jpg);

 

 

</p><p>        echo '<div  style=" background-image: url(/images/banner.jpg);</p><p>    background-position: center center;</p><p>    background-repeat: no-repeat;</p><p>    background-size: cover;</p><p>    height: 350px;</p><p>    min-height: 35em;</p><p>    overflow: hidden;</p><p>    position: relative;</p><p>    text-align: center;</p><p>    display: -webkit-flex;</p><p>    display: -ms-flex;</p><p>    display: flex;</p><p>    -moz-flex-direction: column;</p><p>    -webkit-flex-direction: column;</p><p>    -ms-flex-direction: column;</p><p>    flex-direction: column;</p><p>    -moz-justify-content: center;</p><p>    -webkit-justify-content: center;</p><p>    -ms-justify-content: center;</p><p>    justify-content: center;</p><p>    cursor: default;"></p><p><span class="Apple-tab-span" style="white-space:pre">	</span><img src="'.G5_DATA_URL.'/content/'.$co_id.'_h" alt=""></p><p><span class="Apple-tab-span" style="white-space:pre">		</span></div>';</p><p>

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

        echo '

'.G5_DATA_URL.'/content/'.$co_id.'_h); 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

echo '<div style=" background-image: url('.G5_DATA_URL.'/content/'.$co_id.'_h);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height: 350px;
overflow: hidden;
position: relative;
text-align: center;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
cursor: default;">
</div>';

이렇게 넣어도 아무것도 안뜨는데 왜그런걸까요 ㅠㅠ

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록