Mikael's blog

A developers sixth time trying to maintain a blog

Posts tagged with #html
Re-sizing Images in Javascript
Uploading files asynchronously with XMLHttpRequest is a neat trick on its own, but what I really wanted was a nice way to upload images from my phone and/or tablet. The problem with this is that technology is evolving quite rapidly these days and m...
written on May 2, 2013 at 19:50 by Mikael Lofjärd
Async File Uploads in HTML5
Uploading files using HTML forms has always felt a bit off for me. You had to set your encoding to `multipart/form-data` and the synchronous nature of form posts always made it a waiting game when uploading larger files. Then came AJAX and the dawn ...
written on May 1, 2013 at 22:30 by Mikael Lofjärd
New Drapes
I got tired of the old dark green design. It was too murky and spring is in the air, so I redesigned the site to be lighter and more "spring-y". ` `Inconsolata` is back as the source code font and `Open Sans` makes up the majority of the text on ...
written on April 22, 2013 at 23:32 by Mikael Lofjärd
Somewhat backwards compatible
I got the chance to see my blog through the eyes of Internet Explorer 8 today, and boy was that something to behold. There was no styling what so ever. It looked like the internet pre 1995. This site uses HTML5 and CSS3 and that is fine for most mod...
written on November 14, 2011 at 17:55 by Mikael Lofjärd
Trying to fix SyntaxHighlighter on mobile browsers
I recently incorporated the SyntaxHighlighter by Alex Gorbatchev so that I can easily show code examples in a nice way. The default configuration seems to have a few quirks when it comes to working on mobile devices. Not all of them are SyntaxHighl...
written on November 4, 2011 at 11:44 by Mikael Lofjärd
Responsive Web Design
Responsive web design is the new rage in HTML. As much as I dislike buzzwords, this one is actually something worth thinking about. Scott Hanselman wrote a blog post on the subject a while back and James Fuller has it at #5 on his top 5 list of thi...
written on November 3, 2011 at 22:16 by Mikael Lofjärd