News & Blog

Including a Stylesheet from Within Another Stylesheet

June 13th, 2011 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
If you’ve got a stylesheet that is used in conjunction with other stylesheets on a regular basis did you know that you can include it within the CSS? Maybe you’ve got styles duplicated across multiple CSS files, in which case it might be better to put these duplicated classes i...

Generating a Dynamic XML or Text Playlist using PHP

June 5th, 2011 - Posted by Steve Marks to Flash, PHP, Web Development.
If you’ve ever tried to incorporate some kind of Flash music player into your website, you’ll probably notice that it will more than likely contain an option to use a playlist to play multiple songs in sequence. This can work really well if you’ve got a set number of song...

Adding Multiple CSS Classes to an Element

June 5th, 2011 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
I find that CSS can generally be broken down into two categories; generic classes and element-specific classes. By doing this it makes the CSS less clunky and easier to maintain. Not sure what I mean? Let’s take a look at the following scenario: Before <style type="text/css"> ....

Adding Numbers or Letters to Google Maps API Markers

June 4th, 2011 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I’m a huge fan of the Google Maps API and love the amount of features it has to offer. One thing I get asked quite a lot though and that I can’t find in the documentation is “How do I add numbers or letters to the markers?“. The Solution The solution is actually qui...