본문 바로가기

study

JavaScript CSS 찾아 헤메이던.. 그녀석

obj[i].style.color = "#ff0000";
obj[i].innerHTML = "홍길동<br>이순신";
obj[i].style.backgroundColor = "#00ff00";
obj[i].style.border = "1px solid #ff0000"; // '1px solid DarkGreen'; dotted 2px #FF6600
obj[i].style.fontWeight = "bolder"; //bold,normal
obj[i].style.display = "block";
obj[i].style.fontStyle = "italic"; //italic,normal
obj[i].style.height = 40;
obj[i].style.width = 200;
obj[i].style.align = "center";
obj[i].style.top = 200;
obj[i].style.left = 200;
obj[i].style.zIndex = 0;
obj[i].focus();
obj[i].blur();
obj[i].style.letterSpacing = 20;
obj[i].style.letterPadding = "center";
obj[i].style.filter = "alpha(opacity=50)";
obj[i].style.cssText = "border:1px solid #ff0000;width:500px;text-align:center;padding-top:100px";
obj[i].style.overflow = "hidden";
obj[i].style.position = "relative";
obj[i].style.cursor = "pointer";
obj[i].style.padding = 10;
obj[i].style.paddingLeft = 30;
obj[i].style.paddingTop = 30;
obj[i].style.marginLeft = 50;
obj[i].style.marginTop = 50;
obj[i].style.fontFamily = 'Lucida Console'; //"궁서";
obj[i].style.backgroundImage = 'none';
obj[i].style.borderTopWidth = 5;
obj[i].style.fontSize = 15;
obj[i].innerText = "OK";
//alert( typeof(obj[i].innerText)); // string
//obj[i].style.offsetLeft = 500;
//obj[i].style.offsetTop = 500;
//obj[i].posX = 500;
//obj[i].posY = 500;
//obj[i].text_ = "ttttttttttttt";

'study' 카테고리의 다른 글

MS SQL 함수 모음  (0) 2014.02.19
메타테그 설정  (0) 2014.01.28
Row_Number() 사용법  (0) 2013.12.28
자스 문자열체크 및 대소문자구분  (0) 2013.10.27
HTML5 크로스 브라우징 시 오브젝트를 이용한 동영상 재생  (0) 2013.09.03