Home › Forums › JavaScript › Problems with adding CSS to a jQuery .after() element › Re: Problems with adding CSS to a jQuery .after() element
May 25, 2012 at 11:18 pm
#103498
Participant
Maybe you mean:
$(".success-message1").html('Your message was successfully sent!');
$(".success-message2").html('You should receive a response with in one to two business days.');
CSS Selectors doesn’t require colon before bracket:
.success-message1 {
top: -7px;
position: absolute;
left: 52px;
font-size: 1.1em;
}
.success-message2 {
font-size: 0.8em;
position: absolute;
top: 56px;
right: 10px;
left: 47px;
}