A customer has a designer mockup of a form button that shows a right facing triangle character after the main text, but I can't seem to get this showing. The offending markup is;
<input type="submit" value="Add to basket ▶" />
This should look like 'Add to basket ▶' (if it renders in your browser).
Is this possible or am I doing something wrong?
A jquery workaround is acceptable as a hack too. The page is HTML5 compliant, maybe that'll help.
Thanks in advance,
Ryan
Update: The answers below are correct, there was an easier way though, I just copied the triangle out of this question and straight into me HTML editor. No encoding needed.
Thanks all.
Ya you can use 100%
just ensure
Content-Type: text/html; charset=utf-8
should be present.
The meta tag is ignored by browsers if the HTTP header is present.
Also ensure that your file is actually encoded as UTF-8 before serving it, check/try the following:
Ensure your editor save it as UTF-8.
Ensure your FTP or any file transfer program does not mess with the file.
Try this:
<button type='submit'>Add to basket ▶</button>
It has the same effect as <input type='button'>
, but you can also write charset inside.
I hope this helps.
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