My code sends an email to the client contains a button, it's "cursor:pointer" css is not working in gmail....
$mail->isHTML(true);
$mail->Body=' <a href="#">
<button style="border: 1px solid transparent;cursor: pointer;padding:
10px 60px;float: right;border-radius: 3px;color: #fff;background-color:
#1b84e7;background-image: linear-gradient(to right,#1b84e7 0%,#1515af
100%);">Approve Incident</button>
</a> ';
if(!$mail->send()) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
} else {
echo 'Message has been sent';
}
Check that the battery of the mouse is charged. Make sure that the receiver (dongle) is firmly plugged in to the computer. If your mouse and receiver can operate on different radio channels, make sure that they are both set to the same channel.
You can simply use the CSS cursor property with the value pointer to change the cursor into a hand pointer while hover over any element and not just hyperlink. In the following example when you place the cursor over the list item, it will change into a hand pointer instead of the default text selection cursor.
I found the answer that cursor CSS is not supported in Gmail, see this Email client css support page on Mailchimp.
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