Hi everyone,
I have the following line in my script and I want to set the width of it. Can someone show me how to do this with the code below?
Thanks!!!
Code:document.getElementById('cmr').src = "pic.jpg?"+t;
Printable View
Hi everyone,
I have the following line in my script and I want to set the width of it. Can someone show me how to do this with the code below?
Thanks!!!
Code:document.getElementById('cmr').src = "pic.jpg?"+t;
Got it. I used the style and set the width to 100% and the height to auto to keep the aspect ratio.
Warren