공포의 시간이 돌아왔네요...
익스8로 맹글고
파폭이랑 크롬 테스트 중인데...
걍 버릴까 ㅡ.ㅡ;;
overflow-x:visible; overflow-y:scroll;
요렇게 잡으면 가로는 탈출하고 세로는 스크롤 생겨야 하지 않나요?
익스에서는 생각한대로 잘 나오는데 파폭 크롬에서는 안되네요..
overflow-x:visible; 요거만 주면 가로세로 다 튀나오고
위에처럼 하면 둘다 스크롤이 생기네요..
css 고수님들 도움 좀 ㅜㅜ
댓글 10개
13년 전
이렇게 한번 해바
<div style="width:100px; height:50px; text-overflow:ellipsis; overflow-x:hidden; overflow-y:scroll; table-layout:fixed;">내용</div>
<div style="width:100px; height:50px; text-overflow:ellipsis; overflow-x:hidden; overflow-y:scroll; table-layout:fixed;">내용</div>
13년 전
원래 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/
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/
미운오리스키
13년 전
오옷.. 제가 찾던 내용이네요
근데 원래 안되는거군뇽... 꼼수로 해결할 수 밖에 없겠네요..
답변 감사합니당 ^^
근데 답은 알았는데 더 우울해지네요 ㅜㅜ
근데 원래 안되는거군뇽... 꼼수로 해결할 수 밖에 없겠네요..
답변 감사합니당 ^^
근데 답은 알았는데 더 우울해지네요 ㅜㅜ
게시판 목록
자유게시판
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 |
|
1주 전 | 29 | |
| 199658 | 2개월 전 | 152 | ||
| 199657 | 2개월 전 | 265 | ||
| 199656 | 2개월 전 | 200 | ||
| 199655 | 2개월 전 | 142 | ||
| 199654 |
|
2개월 전 | 193 | |
| 199653 |
|
2개월 전 | 106 | |
| 199652 |
|
2개월 전 | 216 | |
| 199651 | 2개월 전 | 210 | ||
| 199650 | 2개월 전 | 145 | ||
| 199649 | 2개월 전 | 202 | ||
| 199648 | 2개월 전 | 245 | ||
| 199647 | 2개월 전 | 247 | ||
| 199646 | 2개월 전 | 246 | ||
| 199645 | 2개월 전 | 152 | ||
| 199644 | 2개월 전 | 278 | ||
| 199643 |
비버팩토리
|
2개월 전 | 209 | |
| 199642 | 2개월 전 | 388 | ||
| 199641 |
bbebbee
|
2개월 전 | 152 | |
| 199640 |
jaick
|
2개월 전 | 175 | |
| 199639 | 2개월 전 | 266 | ||
| 199638 | 2개월 전 | 210 | ||
| 199637 | 2개월 전 | 200 | ||
| 199636 | 2개월 전 | 233 | ||
| 199635 | 2개월 전 | 215 | ||
| 199634 |
비버팩토리
|
2개월 전 | 154 | |
| 199633 | 2개월 전 | 128 | ||
| 199632 | 2개월 전 | 222 | ||
| 199631 | 2개월 전 | 236 | ||
| 199630 | 2개월 전 | 226 | ||
| 199629 | 2개월 전 | 231 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기