My question is from a rookie stand point with HTML, CSS, and JavaScript working together.
I can use the JS to get my objects to show on the pages, but I need to be able to move them the way I do any other element on the page. How do I go about doing this? CSS?
Please advise.
var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1; //January is 0!
var yyyy = today.getFullYear();
if(dd<10) {
dd='0'+dd
}
if(mm<10) {
mm='0'+mm
}
today = mm+'/'+dd+'/'+yyyy;
document.write(today);
The output auto-appears in the top right corner, I am looking to move it to the bottom right corner of the page.
This code was taken from somewhere on this site as a training purpose, so you may have seen it before.
Thanks.