Why the JQuery syntax below is not correct:
$('#Footer').css({ right: 6%, bottom: 0 });
And this one is:
$('#Footer').css('right', '6%');
$('#Footer').css('bottom', '0');
What is incorrect in the first code ?
Thanks in advance
6% is not a number, so it must be specified as a string.
$('#Footer').css({ right: '6%', bottom: 0 });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With