
JavaScript tip of the day: Extending a String Across Multiple Lines
June 17th 2010
I’m working on a project where I need to inject qui a bit of HTML. The examples will feature jQuery but it works with any library as it is simply string handling in javascript. So the problem we face is that a string of content on a single line is hard to read. Something like […]

CSS3: rgba color values!
January 14th 2010
RGBA actually stands for (R)ed (G)reen (B)lue (A)lpha and is used to define colors in your CSS. As you must already know, colors are composed of various amounts of red, green and blue to form the final color. In CSS you can now specify the opacity of the desired color, that’s what the alpha channel […]

CSS3 properties: shadows!
January 7th 2010
Here’s a new series of post in which I’ll introduce you to new CSS3 properties. You might already know about them but have you tried them? Or know how to use them? Stay tuned and be ready when we can widely use them or start right now as it degrade gracefully. In this article, I’ll […]

target=”_blank” XHTML replacement.
December 16th 2009
As you must already know, using target=”_blank” to open a page in a new window doesn’t validate in XHTML. There’s a javascript workaround tho. This example is based on jQuery since it’s always included in my project and it’s my library of choice but it could be easily converted to any library. The basics To […]

CSS tip: Float an image without text wrapping under it.
December 10th 2009
I thought I’d share this little CSS tip that can be useful to some of you. Let’s say you have this content that contains a thumbnail, you want to float the thumbnail but don’t want the text to wrap under it like below. Instead you want the thumbnail to float and the text beside it, […]