Archive for HTML

A “fix” for Nivo Slider not working in IE7 or IE8

As I was performing browser-testing on a site that is nearing release I found that the Nivo Slider would sit there with a spinning loading icon on IE7 and 8. It worked perfectly on all other browsers (including IE9), and the developer tools in Internet Explorer were not throwing up any errors. I tried modifying [...]

Read more

Phone Number HTML Links for Visitors on Mobile Devices

Displaying mobile numbers as clickable links on mobile devices can be a very easy task. If your numbers are formatted in any of the following ways, the vast majority of your mobile visitors (iPhone and Android) will automatically see the phone number as a clickable link: (555) 555-5555 555 555 5555 555.555.5555 If your phone [...]

Read more

How to Add Horizontal Padding to a Website for Mobile Devices

I recently completed a client’s website when an issue was brought to my attention. When viewing the full site on a mobile device (Android, iPhone, or iPad) the site extended to the corners of the screen. There was no padding on the left or right of the site which looked awkward with parts of the [...]

Read more

Firefox and CSS Attribute Selectors for “style”

While creating a script to hook into the template of an existing website, I decided to use the attribute selector feature of CSS. This powerful feature allows you to select specific elements of the page, based on certain attributes (i.e. style, title, id, class, etc.). The attribute selector worked as expected in Chrome, however I [...]

Read more

Legend HTML Tag Word Wrapping Problem

There is an issue with the way Firefox 3 and 4 handles a long string of text in the HTML form tag “Legend”. With a long string of text in the legend, the element will completely ignore any width property associated with it. The only way to break a line in the legend element is [...]

Read more

Increasing Password Security: Hash with sha256 Client-Side

NOTE: This post DOES NOT increase application security, all it does is protect the users password from being transferred clear text over an insecure connection. I will work on a better blog post about password and application security using a SSL certificate and salting a Blowfish hash. An important part of user registration and authentication [...]

Read more