Category Archives: CSS


The CSS gradient feature was introduced by Webkit for about two years but was rarely used due to incompatibility with most browers. But now with the Firefox 3.6+, which supports gradient, we can style create gradient without having to create …


As much as we don’t like to deal with the IE bugs, we still have to face it because your boss and visitors are still using Explorer. It gets frustrating when different versions of Explorer displays web pages differently due …


I would like to extend CSS3 @font-face topic to the technical side on implementing custom web fonts. So what are the options for implementing web fonts? I’m going to review the three main methods of incorporating @font-face and explain the …

The updated accordion script is available here. This JavaScript accordion is only 1.5kb. If you have a small project that could use an accordion and don’t want to include an entire JavaScript framework to do the job then give this script …

There have been a number of occasions when looking over other developer’s CSS I notice bits of code similar to the following… #div { margin-top: 20px; margin-bottom: 10px; margin-right: 5px; margin-left: 25px; padding-top: 10px; padding-bottom: 15px; border-width: 1px; border-style: solid; …