Viewing Category » Code
28 Jul 2012
Post Thumbnail of Inline versus Block Elements (special guest: float)

In HTML, there are two types of elements, inline and block elements.
Most know about them, use them, but do not fully grasp their difference and behavior and thus, stumble upon numerous layout rendering issues.
To use CSS at its best, you need to understand this very basic concept of HTML element …

22 Nov 2011
Post Thumbnail of Building an extensible jQuery countdown plugin from scratch

UPDATE!I’ve made an official release of this plugin, click here and check it out
It has been some time since I’ve last posted, I’ve been far too busy with a project I’ve been working on the past several months, but it’s almost ready and I hope I’ll get back to my …

16 Jul 2011
Post Thumbnail of Using the Reset Stylesheet

This is certainly one thing a web designer can’t live without, it has been here for years and many developers have even built their own customized reset stylesheets. Though don’t be surprised, there are developers who still haven’t heard of this technique or haven’t found a use for it.
The most …

20 Jun 2011
Post Thumbnail of Checking Your HTML Structure with HTML5 Outliner

There’s this great tool I’ve been using lately to check my HTML5 structures and assure myself that all the new elements have been placed correctly and have the necessary headings.
HTML5 requires all the new structural elements to have a heading, now if you’re meeting situations where a heading does not …

3 May 2011
Post Thumbnail of Populate a select dropdown list with jQuery

It’s common to meet situations where you want a dropdown list to be updated depending on a visitor’s input.
Let’s say we have a contact form and we want to list contact names according to the department the visitor selects. Namely, in our case, we’ll have different contact names for the …

7 Mar 2011
Post Thumbnail of Building a PHP Contact form with Captcha from scratch

Web projects are divided into back-end and front-end work, so web designers don’t have to worry about the “scary” programming, but what about simple presentational websites, where web designers can single-handedly work on, but inevitably get stuck on the contact page.
At that point, most either ask a PHP programmer to …

16 Feb 2011
Post Thumbnail of Smart HTML5 and CSS3 with Modernizr

As I’ve mentioned in the previous article, with some help from Modernizr, CSS3 can be safely applied, at least to some extent. So let’s see it in action!
To break the ice, we’re going to start with the border-radius property, enhance an element for css3-enabled browsers and also ensure the element’s …

27 Jan 2011
Post Thumbnail of JavaScript’s Alert Method vs. jQuery’s Dialog Widget

What’s the quickest and easiest way to send a message, a note or even a warning to a website’s end-user? The JavaScript alert() method! As handy as it is, I’m certain that even yourself have experienced stressful cases where a website kept stuffing alert messages while you were browsing, and …

28 Oct 2010
Post Thumbnail of Optimizing and organizing your CSS code

As how we semantically approach our HTML code for a better structured mark-up, that’s how we need to approach CSS as well.
Setting global and local styles.
You probably haven’t heard of ‘local styles’ because I pretty much named them now and I like to think of ‘local styles’ as those we …

4 Oct 2010
Post Thumbnail of Should we always run away from tables?

I’m having second thoughts about writing this article, suddenly I feel under thousands of web developers about to shred me apart!
Aheem, like most web developers, I’m crazy, if not obsessed, about semantic mark-up and that’s why I still see the table’s great, if not, unique role.
Web designers do not …

 Page 1 of 2  1  2 »
Luix designed by Video Game Music In conjunction with VPS Hosting , Website Hosting and Shared Hosting.