Web

Premailer: preflight for HTML e-mail

Premailer is a script accessible from the web that turns external CSS webpage into inline, improving the rendering of HTML e-mail. This makes it possible to make a webpage and then run it througt this script to make a HTML e-mail.

Read More
Web

Left and Right align text on the same line

It can sometimes be useful to have some text be aligned to the left and some text be aligned to the right on the same line, eg in a footer. Here is how this can be done in HTML: <div id=”footer”> <p class=”leftalign”>Text on the left.</p> <p class=”rightalign”>Text on the right.</p> </div> If you were […]

Read More
Web

Using multiple CSS classes

Let’s say you need six different 100px square boxes with different characteristics: Red with Border Blue with Border Green with Border Red without Border Blue without Border Green without Border You COULD create a unique class for each of these: .redwithborder { width: 100px; height: 100px; margin: 10px; float: left; background-color: red; border: 3px solid […]

Read More
Web

CSS Shorthand Guide

Ok. Let’s set the record straight. There is no official guide for each and every CSS shorthand property value. So let’s work together and put one together shall we? Ok. Straight to the business. Anytime I’ve ran into a specification (besides the confusing mess at the W3C), it turns into showing off a couple of […]

Read More