HTML5: Set X-UA-Compatible rendering mode validating the document
A feature added to Internet Explorer 8 (IE8 ), is the ability to change the browser rendering mode by adding a meta tag <meta http-equiv=”X-UA-Compatible” content=”edge” /> inside the document header tag. This is a great feature that allows you to display websites properly, but there is one small problem, adding the tag will break the W3C validation of the website. […]
Mobile javascript events compared to their desktop counterparts
If you are working on a mobile HTML5 website / app you probably want to know what are the javascript events you can use based on the user interaction. Well, here is a list (cheatsheet); bellow is a table comparing the mobile javascript events with their desktop counterparts. The “composed” column shows similar mobile events […]
WordPress Security tips: Avoid getting your site hacked
Here is a check list for your next WordPress installation to improve the changes of the site begin hacked. Change your database prefix “wp_” Don’t use the username “admin” Use a strong password 8+ characters symbols letters and numbers Change the wp_settings.php file permissions to 0644 Whenever possible move the wp_settings.php file one directory up. Install the Login LockDown […]
IOS: Adding icons to mobile-ready websites
When creating a new WordPress responsive themes or any mobile website for that matter, there is one thing you shouldn’t forget, that is to add mobile icons for the iOS devices. This is important for brand consistency and is better way for the user to distinguish the bookmark from other sites. Add the following code within the <header> tag. Notice that we […]