'Programming > web 관련' 카테고리의 다른 글
chrome 보안 무시 (0) | 2018.11.13 |
---|---|
REST API HTTP 에러코드 (0) | 2018.11.06 |
tinestamp(epoch) to utc / localtime (0) | 2018.09.07 |
li 글자 수직정렬하기 (0) | 2018.08.30 |
user agent stylesheet (0) | 2018.08.29 |
chrome 보안 무시 (0) | 2018.11.13 |
---|---|
REST API HTTP 에러코드 (0) | 2018.11.06 |
tinestamp(epoch) to utc / localtime (0) | 2018.09.07 |
li 글자 수직정렬하기 (0) | 2018.08.30 |
user agent stylesheet (0) | 2018.08.29 |
timestamp 값을 UTC나 로컬시간(한국이라면 KST)로 출력하는 방법을 찾는중
단순하게 date() 객체를 이용하면 될 듯
[링크 : https://stackoverflow.com/.../how-to-convert-a-timestamp-string-to-local-time-using-javascript]
[링크 : https://stackoverflow.com/questions/6525538/convert-utc-date-time-to-local-date-time/18330682]
테스트를 위해서 브라우저의 timezone을 변경해야 하는데
linux라면 export TZ 로 간단하게 할 수 있긴한데 윈도우는 이렇다할 방법을 아직 못 찾고
대신 플러그인을 발견함.
[링크 : https://gist.github.com/dustinsmith1024/dab3560abaa62cbe0754117d44c71026
[링크 : https://chrome.google.com/.../change-timezone-time-shif/nbofeaabhknfdcpoddmfckpokmncimpj]
REST API HTTP 에러코드 (0) | 2018.11.06 |
---|---|
sso openid oauth (0) | 2018.09.10 |
li 글자 수직정렬하기 (0) | 2018.08.30 |
user agent stylesheet (0) | 2018.08.29 |
div min-width (4) | 2018.08.28 |
일단은.. 내꺼에서는 이게 효과가 있었음
li { height:30px; line-height: 30px; } |
[링크 : https://stackoverflow.com/questions/3400548/how-to-vertically-align-li-elements-in-ul]
sso openid oauth (0) | 2018.09.10 |
---|---|
tinestamp(epoch) to utc / localtime (0) | 2018.09.07 |
user agent stylesheet (0) | 2018.08.29 |
div min-width (4) | 2018.08.28 |
웹폰트 - 나눔고딕 (0) | 2018.08.27 |
body에 정체 불명의 8px margin이 있어서 찾아보니
웹 브라우저에서 기본으로 설정하는 css 스타일이라고..
[링크 : https://stackoverflow.com/questions/12582624/what-is-user-agent-stylesheet]
[링크 : https://stackoverflow.com/questions/7332787/chrome-get-user-agent-stylesheet]
[링크 : https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css]
[링크 : https://stackoverflow.com/questions/6867254/browsers-default-css-for-html-elements/6867287#6867287]
tinestamp(epoch) to utc / localtime (0) | 2018.09.07 |
---|---|
li 글자 수직정렬하기 (0) | 2018.08.30 |
div min-width (4) | 2018.08.28 |
웹폰트 - 나눔고딕 (0) | 2018.08.27 |
div width와 margin:auto; (2) | 2018.08.27 |
역시.. 생각하는 모든것은 이미 존재하는건가!
div 태그에서 100% width 해놔도 일정 크기 이하로는 줄지 않도록 해주는 설정값
[링크 : https://www.w3schools.com/cssref/pr_dim_min-width.asp]
li 글자 수직정렬하기 (0) | 2018.08.30 |
---|---|
user agent stylesheet (0) | 2018.08.29 |
웹폰트 - 나눔고딕 (0) | 2018.08.27 |
div width와 margin:auto; (2) | 2018.08.27 |
tr hover (2) | 2018.08.27 |
구글에서 나눔고딕을 CDN으로 제공하는데
대부분 링크 떠도는게 earlyaccess로 된거라 정상적인(?)걸 찾는데 애먹음
그나저나.. eot나 woff 이런걸 받을순 없는건가?
[링크 : https://www.seobangnim.com/bbs/board.php?bo_table=html&wr_id=300]
user agent stylesheet (0) | 2018.08.29 |
---|---|
div min-width (4) | 2018.08.28 |
div width와 margin:auto; (2) | 2018.08.27 |
tr hover (2) | 2018.08.27 |
html button tag (4) | 2018.08.27 |
div에 width 값이 정해지지 않으면
margin:auto를 통해서 가운데 정렬이 되지 않는 문제(?) 발견
왜 그런걸까?
쓰면 쓸수록 div랑 span 어렵네..
누가 웹이 쉽댔어 -_ㅠ
div min-width (4) | 2018.08.28 |
---|---|
웹폰트 - 나눔고딕 (0) | 2018.08.27 |
tr hover (2) | 2018.08.27 |
html button tag (4) | 2018.08.27 |
table border-spacing (0) | 2018.08.27 |
tr:hover가 먹긴 하는데(edge, chrome)
문제는 td에서 background 가 지정되었을 경우
background 색이 우선권을 가져서 tr:hover 색이 먹지 않는다.
tr:hover { background:#aba5a5; } |
[링크 : https://stackoverflow.com/questions/7510753/trhover-not-working]
[링크 : http://itzone.tistory.com/46]
요렇게 하면 색있는 애들도 칠해짐(단, th로 정의된 녀석들은 td가 아니니까 적용 안된다)
tr:hover td { background:#aba5a5; } |
[링크 : https://stackoverflow.com/questions/5492900/changing-background-colour-of-tr-element-on-mouseover]
웹폰트 - 나눔고딕 (0) | 2018.08.27 |
---|---|
div width와 margin:auto; (2) | 2018.08.27 |
html button tag (4) | 2018.08.27 |
table border-spacing (0) | 2018.08.27 |
웹페이지 탭메뉴 만들기 (0) | 2018.08.22 |
div width와 margin:auto; (2) | 2018.08.27 |
---|---|
tr hover (2) | 2018.08.27 |
table border-spacing (0) | 2018.08.27 |
웹페이지 탭메뉴 만들기 (0) | 2018.08.22 |
시맨틱 코드 (2) | 2018.08.21 |
div로 할까 하다가 그래도 표니까 table 써야지 하고 보는데
디자인 적으로 한줄 사이사이 공백이 추가되어야 하고
한줄은 구분이 없어야 하는 쪽이라 막 건드려보다 보니 이게 되네
table { border : 0px; /* 경계선의 두께 */ border-spacing: 1px 2px; /* 가로 1픽셀 띄우기 세로 2픽셀 띄우기 */ } |
[링크 : https://www.w3schools.com/cssref/pr_border-spacing.asp]
+
padding으로는 셀 안의 크기를 띄우는 거라 내가 원하는 용도로 쓰긴 힘듬
tr hover (2) | 2018.08.27 |
---|---|
html button tag (4) | 2018.08.27 |
웹페이지 탭메뉴 만들기 (0) | 2018.08.22 |
시맨틱 코드 (2) | 2018.08.21 |
sketch 플러그인 (0) | 2018.08.13 |