Tables can be tricky in responsive design, especially when there's multiple headings. Here are two examples on how to style them for every device.
While setting up a static environment, I came across this error from running:
gem install github-pages (a gem for syncing Jekyll with GitHub Pages):
Finally got around to putting this site together - powered by Jekyll and hosted on GitHub. The setup was smooth thanks to great documentation by Jonathan McGlone.
This guide includes step-by-step instructions on how to install Ubuntu Desktop in Oracle VM VirtualBox, and the LAMP stack - Linux, Apache, MySQL and PHP 7 to run a basic PHP website.
Newer versions of WAMP may throw a “Site can’t be reached” page after clicking on a localhost project. The issue is that the URL sets the project name as the root, rather than localhost (e.g. http://project/). This was originally meant to avoid root directory issues when dealing with PHP queries.
There are a number of ways to optimize your WordPress site. In this post, I'm going to share some of the methods and tools I use to optimize WordPress.
Development is a lot quicker with PHP templates - header.php, footer.php, etc., since there is only one file dynamically included into each page. When there's only one header template that contains the primary menu, active classes need to be dynamically inserted.
Git can be difficult to get used to so I made a quick reference guide of the basic, most common commands I use. I normally check the status of the working directory for changes, commit them, and push to the master branch.
The WAMP orange icon occurs when there's an issue connecting to localhost. Common reasons are from mis-configured ports, Skype interference, and missing services. If you experience this problem, here are a number of ways to troubleshoot the network.
A virtual host (vhost) is recommended to prevent uploading conflicts between your local and live site. It sets the project name as the document root, rather than localhost to avoid directory issues and better match a live server environment. WampServer 3 offers an incredibly easy way to create virtual hosts for your projects.
Using the CSS property,
inline-block provides an alternative to floats where elements align side by side without having to clear. They can be given a height and width, opposed to the
inline property. The issue with this display property is that it renders HTML white-space, sometimes causing an alignment to break. Here are a number of ways to prevent this.