As I Solve

Bulletproof solutions for the savvy developer.

Author: Stephen Saucier

  • Click a Heading to reveal sub-content

    HTML is a markup language that, most essentially, sets the structure of a document. That structure is meaningful, and it’s often abused when web developers do a sloppy job. It’s important for accessibility, readability, and in giving a clear understanding of what is what. With that in mind, I set out to create a page full…

  • View Source of an Email in Mac OSX Mail

    To view the source of an email in the Mac OSX program “Mail”, select the message and look at the top menu. Select “View” >> “Message” >> “Raw Source”. If you copy that source and paste it into a new HTML file, you will have a mish-mash of un-working parts. Apple’s Mail program inserts a…

  • Modal Windows – IE8 problems with iframe’s z-index

    Recently, working with a site that uses modal windows as part of the visitor’s process flow, I ran into a bug in Internet Explorer 8 and below where an iframe (containing an embedded video in this case) was displayed above all modal windows, so the users couldn’t see or click on the modal windows. Setting position:absolute didn’t…

  • AJAX loading JS, CSS, and HTML

    Having problems loading scripts and CSS when loading content with AJAX? The solution is simple: Don’t have the JS or CSS in the pages you load up with JavaScript. Instead, when you load up the HTML with your AJAX call, also call the scripts and CSS you need separately at the same time. After including…

  • WordPress – Create a widget area for News (Blog excerpts)

    Working on a WordPress site for a client, they wanted to display a few excerpts of recent Blog posts on their homepage. We were using a custom template for a page that was set as the homepage, but we didn’t have a widget area for that News area. Here’s how to add one: In Functions.php…