To prevent the blur event to occur when clicking on a button or link, while you were editing text in a HTML5 editable element, add the following code in your script: Continue reading
The aim of this post is to see different methods to wrap a line/border around your element and understand how they affect the element’s dimensions.
I’ll compare three ways of adding a border around an element:
- border and box-sizing:border-box,
- border (in the default box model) and
Useful function allowing you to prepend a key/value pair to an array (without the keys being reindexed) :
Using a Gmail IMAP account in Thunderbird might be confusing. This is because Gmail doesn’t really use folders, instead it uses labels (or tags) on the mails where each mail might have multiple labels. To see how we can efficiently combine the use of Thunderbird and Gmail IMAP, let’s do some tests on an email account I freshly created for the purpose of this article.
The script below allows you to resize an image while keeping proportions. Continue reading
Before you really understand the whole process of the functioning of an MVC framework, maybe you should think about implementing your own MVC framework. You will learn a lot by writing your own. You will understand the theory behind it rather than just mindless implementation. Continue reading