rokni's weblog

Rokni.com's weblog enables Ali M. Rokni to access and share usefull information of the World Wide Web new technologies with friends and visitors of the site.

Monday, June 28, 2004

JavaScript Style Attributes

JavaScript Style Attributes,
Listed below are the tables of CSS properties for various HTML element style attributes. I have added a column indicating the javaScript name that the browser recognizes for these properties. I have only listed those that I know work, but the trend seems to be to use the same name when one name is the style descriptor. When there are two names, use the first name in lower case and the first character of the second name in upper case. Examples:
color = color
background-color = backgroundColor
font-style = fontStyle
font-weight = fontWeight

JavaScript Style Attributes

0 Comments:

Post a Comment

<< Home

Previous Posts

1999-2008 © rokni.com