document.getElementById("myId").style.left = 100px;
Is there a SHORT way to use the code above to a class?
Will the code below work?
doucment.getElementsByClassName("myClass").style.left = 100px;
What I wanted to do was to move multiple images to the same place and it should be flexible so that it would work if the user wanted 1, 2, 3 or more images to move to that place.