JS : style 변경

사용법
document.forms[0].userid.style.textAlign="center";
document.forms[0].userid.style.cursor ="hand";

fontFamily

fontStyle

fontVariant

fontWeight

fontSize

font

color

background

backgroundColor

backgroundImage

backgroundRepeat

backgroundAttachment

backgroundPosition

backgroundPositionX

backgroundPositionY

wordSpacing

letterSpacing

textDecoration

textDecorationNone

textDecorationUnderline

textDecorationOverline

textDecorationLineThrough

textDecorationBlink

verticalAlign

textTransform

textAlign

textIndent

lineHeight

marginTop

marginRight

marginBottom

marginLeft

margin

paddingTop

paddingRight

paddingBottom

paddingLeft

padding

border

borderTop

borderRight

borderBottom

borderLeft

borderColor

borderTopColor

borderRightColor

borderBottomColor

borderLeftColor

borderWidth

borderTopWidth

borderRightWidth

borderBottomWidth

borderLeftWidth

borderStyle

borderTopStyle

borderRightStyle

borderBottomStyle

borderLeftStyle

width

height

styleFloat

clear

display

visibility

listStyleType

listStylePosition

listStyleImage

listStyle

whiteSpace

top

left

position

zIndex

overflow

pageBreakBefore

pageBreakAfter

cssText

pixelTop

pixelLeft

pixelWidth

pixelHeight

posTop

posLeft

posWidth

posHeight

cursor

clip

filter

Leave a Reply

Your email address will not be published.