fieldset 내에서는 overflow-x: auto가 먹히지 않음 fieldset이 부모의 width가 아니라 콘텐츠 요소의 width값을 갖게 되기 때문 해결하려면 fieldset의 width를 잡아주는 과정이 필요함 fieldset{width: auto;min-width: 0;max-width: none;} *참고 http://daplus.net/html-fieldset%EC%9D%98-%ED%81%AC%EA%B8%B0%EA%B0%80-%EC%9E%98%EB%AA%BB%EB%90%98%EC%97%88%EC%8A%B5%EB%8B%88%EB%8B%A4-min-width-min-content%EB%A5%BC-%EC%A0%9C%EA%B1%B0-%ED%95%A0-%EC%88%98/ [html] 의 크기가 ..
HTML 전문의 의사 JQuery $(document).ready(function(){ $(".div-wrap input[name='division']").change(function(){ var selectValue = $("input[name='division']:checked").val(); if(selectValue == "의사"){ $(".doctor-hide").removeClass("hide"); }else{ $(".doctor-hide").addClass("hide"); } }) })
html css .wrap:not(.slick-initialized) .con:not(:first-child){display: none;} .wrap{opacity: 0;visibility: hidden;-webkit-transition: opacity .1s ease;transition: opacity .1s ease;} .wrap.slick-initialized{opacity: 1;visibility: visible;} 참고 https://koreanmenopause.or.kr/ https://hoyashu.tistory.com/111 https://stackoverflow.com/questions/28357617/slick-js-hide-slider-until-images-have-loaded
caption 태그에 position: absolute가 들어갔을 때 safari나 chrome에서 table의 너비를 인식하지 못해 레이아웃이 깨지는 문제 발생 caption{font-size: 0;text-indent: -9999px;} position 말고 다른 방식으로 caption을 숨겨 해결 참고 https://abcdqbbq.tistory.com/97?category=843591 [html 버그] safari, chrome 등 모바일에서 table 너비 인식(width) 문제 ( 관련) pc에서는 문제가 없지만 모바일에서의 table 태그에 작성한 내용들이 내가 원하는 width값을 먹지 못하고 틀어지는 경우가 종종 있다. 과 태그를 사용해서 width 값을 줘도, css를 통해 width값..
$('li').each(function(e){ $(this).find('input[type=checkbox]').on('click',function(e){ if($(this).is(':checked') == true){ $(this).parents('li').addClass('on'); }else{ $(this).parents('li').removeClass('on'); } }); }); '기타' 선택 시 input[type="text"] 활성화 $('input[type="checkbox"]').change(function(){ if($('input[name="etc"]').is(':checked') == true){ $('input[type="text"]').removeAttr('disabled'); ..