본문 바로가기

Web(HTML5)14

json jquery populate each example function showSidoInternalInfo(jsonResult) { var jsonSidoData = JSON.parse(jsonResult); console.log('showSidoInternalInfo : ' + jsonSidoData); var items = []; items.push(' [지역 이름 | 상태] Pm10/Pm25/오존 '); $.each(jsonSidoData.list, function (i, item) { console.log("name : " + item.cityName + ", value : " + item.pm10Value); var status = calStatusIndex(item.pm10Value, item.pm25Value); var statusText = .. 2017. 8. 30.
5 가지 유용한 리스트 ul, li css (5 Useful ul li css ) 1.Simple List HelvetiList Zurich Geneva Winterthur Lausanne Lucerne div { width: 200px;} h2 { font: 400 40px/1.5 Helvetica, Verdana, sans-serif; margin: 0; padding: 0;} ul { list-style-type: none; margin: 0; padding: 0;} li { font: 200 20px/1.5 Helvetica, Verdana, sans-serif; border-bottom: 1px solid #ccc;} li:last-child { border: none;} li a { text-decoration: none; color: #000; display: block;.. 2017. 8. 30.
Google 검색엔진에 내 블로그 나 Web Site 등록하기 1. Search Console 에 URL에 로그인하기https://www.google.com/webmasters/tools/home?hl=ko 2.블로그일 경우 대체방법 이용하기HTML 태그사이트 홈페이지에 메타태그 추가 페이지 내용 3.직접 관리하는 웹사이트일 경우3-1) 구글에서 html 파일 다운로드 한다.3-2) 구글에서 다운 받은 html 파일을 내가 관리 또는 운영하는 사이트에 업로드한다.끝. 2017. 8. 28.
div 가운데 넣기 The complete guide to centering a divsource : http://www.tipue.com/blog/center-a-div/ [Centering a div in a page, basic]This method works with just about every browser, ever.CSS .center-div{ margin: 0 auto; width: 100px; } [centering a div within a div, old-school]This method works with just about every browser.CSS .outer-div{ padding: 30px;}.inner-div{ margin: 0 auto; width: 100px; } HTML [Cent.. 2017. 8. 5.