웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
모바일 설문조사 크기조절하기 다른 버전
2013.07.15 02:00
modules/poll/skins/default 에 있는 form.html 을 수정합니다.
13번째 줄 수정
<div id="poll_{$poll->poll_srl}" style="{$poll->style}">
13번째 줄 수정 후
<div id="poll_{$poll->poll_srl}" style="margin:0 auto; <!--@if(Mobile::isMobileCheckByAgent())-->width:90%<!--@else-->{$poll->style}<!--@end-->">
모바일에서는 width(폭)이 90%로 맞춰지며,
PC에서는 400px로 맞춰집니다.
자동으로 중앙정렬이 됩니다.
margin:0 auto; 부분을 삭제하면 중앙정렬이 되지 않습니다.
댓글 4
-
맥문동
2013.07.16 10:05
-
낭만구미호
2013.07.16 12:05
{$poll->style} 부분을 width:90% 등으로 바꾸시면 됩니다. -
맥문동
2013.07.22 09:23
답변 감사합니다. ^^
-
오락실주인
2013.07.24 10:27
혹시 설문조사 사용하면 아래 <br> 한칸정도 사용하고 싶은데 어디에 <br>을 입력해야할까요 ? ^^;
그리고 설문조사넣으면 날짜가 1달후로 지정되자나여 그걸 1년후로 바꾸고싶은데 ^^;
질문 2개를 던지고 가네염 ㅠ.ㅠ 죄송 ...
제목 | 글쓴이 | 날짜 |
---|---|---|
(설문조사) 회원만 설문 조사 하도록 [8] | Simulz | 2007.09.04 |
설문조사 컴퍼넌트의 종료일 관련 버그 수정 | sejin7940 | 2015.05.26 |
모바일 설문조사 크기조절하기 다른 버전 [4] | 낭만구미호 | 2013.07.15 |
모바일 설문조사 크기조절하기 ~ | 오락실주인 | 2013.07.14 |
메인화면에 설문조사 위젯(?) 만들기 [3] | 3D매니아 | 2010.12.14 |
[PHP 동영상강좌] 15. 여러개의 파일을 이용한 설문조사 [7] | 서기 | 2005.11.23 |
초간단 설문조사 소스 [3] | 이혁 | 2004.05.27 |
XE에서 설문조사시 비회원 참여하는 방법 있을까요? [1] | hellosamyoo | 2010.10.12 |
레이아웃 삽입 후 최근 설문조사 가져오기 | ilovesyr | 2010.05.18 |
페이지에 설문 조사 넣기 [2] | 지허 | 2007.10.01 |
설문조사에서 로그인하지 않은 사용자는 투표하지 못하도록 수정하기 [3] | mooo | 2008.05.29 |
[설문조사] 메인페이지에 넣기와 효율적으로 관리하기 [6] | 빨간발 | 2008.11.27 |
팁 감사합니다.
혹시 pc에서 보이는 설문조사 넓이도 고정된 400px를 화면의 90%로 조정하려면 어느 부분을 고쳐야 하는지 도움 좀 받을 수 있을까요?