Creating Rounded Corner CSS Boxes Using One Image

April 3rd, 2008 · 1:04 pm  →  CSS Web Design

I wrote an article some time ago which explained how to create rounded corners using just a single image and CSS. It’s a great solution but imagine if you have multiple boxes and you’d like to use different colours for each box? Within this tutorial, I’ll explain how you can create multiple rounded boxes using [...]

CSS Fixed Layouts Starter Kit

March 26th, 2008 · 2:27 pm  →  CSS Web Design

I’m sure by now, everyone has heard about the benefits of separating content (HTML) from the presentational aspect (CSS) of their code and I’ve recently started to put a library of templates together which can be used as a starting point for a variety of CSS designs. Within this first release, I’ll be using just [...]

CSS Hover Icon Menu Using CSS Sprites

March 11th, 2008 · 2:24 pm  →  CSS Web Design

Swapping icons on hover is traditionally done using JavaScript but this method requires a lot of unnecessary code and a number of different icons in order to achieve what should be really simple. However, there is a solution and this tutorial will explain how to apply different hover over icons to an unordered list using [...]

Creating FAQs Using a Definition List

February 25th, 2008 · 1:09 pm  →  CSS HTML Web Design

With a lot of web developers finally becoming conscious of using the correct semantic elements for marking up their HTML document, I’m often asked how frequently asked question (FAQ) pages should be marked up. Within this tutorial, I’ll explain how I deal with FAQ pages and provide you with a couple of options that I’ve [...]

CSS Margin Collapse

February 20th, 2008 · 1:33 pm  →  CSS Web Design

Margin and padding are extremely important when it comes to CSS designs but margins collapsing between elements positioned vertically to each other can often cause some confusion. However, within this tutorial, I’ll quickly explain how it works and how to use collapsing margins effectively.

CSS Reset

February 18th, 2008 · 5:14 pm  →  CSS Web Design

There’s plenty of different reset methods already available and I’ve been using Eric Meyer’s method for some time now but have started to realize that in most projects, I only use a fraction of the styles specified and much more often find myself rewriting a whole different set of styles that I use in all [...]

CSS Font Shorthand

February 14th, 2008 · 3:52 pm  →  CSS Web Design

CSS Stylesheets can sometime became large and unmanageable especially on large projects so it’s important to use shorthand wherever possible to keep your CSS simple, easy to understand and to keep the file size down to a minimal. This quick tip will demonstrate how CSS shorthand for fonts can be applied to limit the amount [...]

MouseOver Images Using CSS Sprites

February 13th, 2008 · 1:14 pm  →  CSS Web Design

It amazes me how many developers still resort to JavaScript to create a mouseover image effect especially when you consider that CSS can take care of this so easily. Within this tutorial, I’ll show how this can be achieved using a simple example with nothing more than CSS and a single image.

CSS Navigation Menu – Basics

February 11th, 2008 · 4:29 pm  →  CSS Web Design

CSS menu’s can be very simple but can also cause confusion when combining block and inline elements. This tutorial will hopefully clear up any confusion and demonstrate the best way to structure your navigation in its simplest form. This demonstration isn’t complicated but I’ve decided to write an article about it as it is very [...]

CSS Fixed Footer

February 1st, 2008 · 5:42 pm  →  CSS Web Design

Sometimes it’s the simple things that can be the most infuriating when it comes to dealing with CSS. Positioning a footer to stay at the bottom of the browser window unless the content is larger, sounds like it should be fairly simple, but is in fact quite an advanced technique when it comes to CSS. [...]