writing for the masses

jazz up your headings

July 10th, 2009

These headings are more jazzy than as jazzy as John Coltrane my friend. Subtitles can serve as a great descriptor, especially if your post titles are random snipets of nothing like mine. This code is for the title and subtitle in the life section.

heading (x)html (<h1> and <span>)

<h1>life <span>in the shadows</span></h1>
read the rest of this entry »

tags: , , , , ,
posted in web | no comments »


php ob_get_contents(); buffer

July 7th, 2009

Found the dope resource when trying to store a php include inside a variable. There is a little more to it than I first thought, but not much more. Content Management Systems are built and rely upon this simpleness.

php buffer (with includes)

<?php ob_start(); // start buffer
include ('include.php');
$content = ob_get_contents(); 
// buffer contents to variable
ob_end_clean(); // end buffer and remove contents
echo $content; ?>
read the rest of this entry »

tags: , , , ,
posted in web | no comments »


icon css framework (icn class)

July 1st, 2009

Simple yet dope, just another feature of the spectrum framework. spectrum includes icons for css, html, txt, pdf, email, vcard, zip, twitter, facebook, and linkedin. Icons can be applied to any element by setting class=”icn facebook” and so on. The icon names are listed below as they correspond to the framework.

read the rest of this entry »

tags: , , , , ,
posted in web | no comments »


Page 2 of 5«12345»