Posted by Bree on Mar 18, 2009 in CSS | 0 comments
Using a special stylesheet to help with your printable content can save you a ton of headache. You may have read that tailoring your content to print properly is a lot of work or can be a frustrating experience, setting you at odds with printers and clients alike. When executed properly, it’s a very simple process that requires only one file (print.css) and yields a few tangible...
read more
Posted by Bree on Jan 30, 2009 in CSS | 0 comments
A CSS reset is a set of CSS rules you use as a starting point in order to preemptively quell bugs that may arise due to the Browser Wars. A CSS reset does this by applying consistent values to elements that browsers typically render differently by default (such as margin, padding and font-inheritance). Below is a reset you can use, originally written by Eric Meyer.
...
read more
Posted by Bree on Jan 30, 2009 in XHTML & HTML5 | 0 comments
What is DOCTYPE and why do I care?
The DOCTYPE declaration is the first line of code in any web document. It tells the browser what type of markup you wrote. ...
read more
Posted by Bree on Jan 30, 2009 in PHP | 0 comments
The script below displays a random string of text each time your page is loaded or refreshed. It is not the most fancy or flexible – but it is extremely simple and easy. This could prove useful if you are doing something with limited scope.
...
read more
Posted by Bree on Jan 30, 2009 in PHP | 0 comments
Is your server’s PHP mail function enabled or disabled? Test it with this quick script. If you get an email, it works!
...
read more
Posted by Bree on Jan 30, 2009 in JavaScript | 0 comments
Whether you have moved to jQuery or are using prototype.js, you can include your JS library directly from Google’s code library.
Getting your library from google gives you an awesome perk: There’s a good chance that users visiting your site have it cached because they’ve previously visited Google (or another site getting the code from google). This essentially makes it a...
read more