Select Page

Articles

Vertically align with Bootstrap 3

Why is it so difficult to vertically-center HTML elements?? Yea, that's what I was recently saying - and looking through the web, it looks like quite a lot of folks are saying it.  You would think it might be easy using CSS like this: vertical-align: middle; But nay!...

PHP multiple inheritance

Was double-checking this today and confirmed that PHP does not support derivation from multiple classes.  But worthy of writing this article was a new construct introduced in PHP 5.4: traits. Traits mostly remind me old-school C pre-processor #define calls.  So, I can...

Navbar Dropdown Woe

Came across an issue with the Bootstrap navbar dropdown with respect to WordPress.  Here's the issue: Download Bootstrap and put it up on your website (reference the min.css and min.js files). Go to the sample code for the Default Navbar in the Bootstrap docs here and...

Bootstrap

Typically, if using raw HTML/CSS, chances are that your site might work on something like Chrome, but not on something like Internet Explorer.  Enter Bootstrap - a collection of CSS and Javascript that handles the nuances between browsers.  It really has become...

CSS Performance

As I write the styling for a new site, I want to pay careful attention to too much CSS.  As a result, I did some searching on layout times and came across a list of CSS Selector types ordered from most efficient to least efficient.  Here they are: ID, e.g. #header...