Issue at Hand: I am currently facing a challenge with two background images positioned on the body tag; one floating left and the other right. The image on the left has a padding of 50px on the left side, while the image on the right has a padding of 50px on the right side. I am seeking a solution to dynamically change the padding for each of these images using pure Javascript (not jQuery).
Your assistance is greatly appreciated! :)
#body{
background:url('http://www.w3schools.com/css/w3css.gif') no-repeat 50px 0px,
url('http://www.w3schools.com/css/w3css.gif') no-repeat top right 50px;
}