I was recently using a simple Unicode arrow (▶) for a play button on a video which looked great, everywhere, except on iOS it was being rendered as an Emoji: Although not terrible, it didn’t work with our design. The fix is luckily easy, you just need to explicitly specify…
Category: HTML
I hate Font Awesome like I hate jQuery
First off, if you don’t know me then you might be offended or enraged by that statement. Please, keep reading. Font Awesome is a truly great collection of icons that can be easily deployed with a simple CSS or JS include. A ton of work has gone into it to…
Yahoo search result – CCC in front of page titles
In Yahoo’s search result some of our page titles were being prefixed the “C C C” which, of course, was really weird. Charlie figured this one out. My money was on some corrupt HTML tag that was trying to set a color to hex #CCC but that wasn’t right. Let me show…
HTML Select placeholder
If a select element has a required attribute specified does not have a multiple attribute specified has a display size of 1 AND if the value of the first option element in the select element’s list of options (if any) is the empty string that option element’s parent node is…
Using SVGs in HTML
I’ve been using SVGs in websites for a long time now but always as files on disk linked either via img or image tags. Recently, however, I started to use them in-content as if they were actually HTML tags. By doing this you have easier access for color changes as well as…