공포의 시간이 돌아왔네요... > 자유게시판

자유게시판

공포의 시간이 돌아왔네요... 정보

공포의 시간이 돌아왔네요...

본문

 
익스8로 맹글고
 
파폭이랑 크롬 테스트 중인데...
 
걍 버릴까 ㅡ.ㅡ;;
 
overflow-x:visible; overflow-y:scroll;
 
요렇게 잡으면 가로는 탈출하고 세로는 스크롤 생겨야 하지 않나요?
 
익스에서는 생각한대로 잘 나오는데 파폭 크롬에서는 안되네요..
 
overflow-x:visible; 요거만 주면 가로세로 다 튀나오고
 
위에처럼 하면 둘다 스크롤이 생기네요..
 
css 고수님들 도움 좀 ㅜㅜ
 
 
 
추천
0

댓글 10개

이렇게 한번 해바
<div style="width:100px; height:50px; text-overflow:ellipsis; overflow-x:hidden; overflow-y:scroll; table-layout:fixed;">내용</div>
원래 w3c 표준규약이 그렇다네요.. -_-;
http://www.w3.org/TR/css3-box/#overflow-x
"The computed values of ‘overflow-x’ and ‘overflow-y’ are the same as their specified values, except that some combinations with ‘visible’ are not possible: if one is specified as ‘visible’ and the other is ‘scroll’ or ‘auto’, then ‘visible’ is set to ‘auto’."
짧은 해석: overflow-x 를 visible로 줘도, overflow-y를 scroll이나 auto로 줘 버리면, overflow-x가 auto로 바뀐다.
여러 조합을 보여주는 사이트: http://www.brunildo.org/test/Overflowxy2.html

일반적인 해결책은 없는 것 같고 http://stackoverflow.com/search?q=overflow-x%3Avisible
한가지 방법으로, div 등을 하나 더 넣어서 거기에 visible로 주셔야 할듯 하네요.
참고 링크: http://jsfiddle.net/3xv6A/9/
오옷.. 제가 찾던 내용이네요
근데 원래 안되는거군뇽... 꼼수로 해결할 수 밖에 없겠네요..
답변 감사합니당 ^^
근데 답은 알았는데 더 우울해지네요 ㅜㅜ
전체 196,490 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT