Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2003
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Addressing CSS Attributes

    I'm looking for a list of the names CSS attributes have in JavaScript. I've tried google, of course, but the only ones I've found don't have the main thing I'm looking for - position. Does anyone have a list or know about the position?

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you know any CSS properties, then you already know the JS properties too - you take the CSS equivalent and you camelcase it, whereby the first letter of each word is in uppercase (except the first word) and the hyphens have been removed.

  • #3
    Regular Coder
    Join Date
    Dec 2003
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks, jbot.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •