Email Inputs

Posted on Fri, May 10, 2013 in Web Design, User Experience by Kevin Carpenter

When we apply a type of “email” to form inputs, we can instruct the browser to only allow strings that conform to a valid email address structure. This makes us that much closer to built-in form validation and we don't have to write JavaScript validators. We can’t 100% rely on this just yet, for browser support reasons. In older browsers that do not comply with the “email” type, they’ll simply fall back to a regular textbox. Please note that all current browsers are a bit picky when it comes to which elements and attributes they do and do not support. For example, Opera supports...

Read More

Using The < nav > Element in HTML5

Posted on Wed, May 08, 2013 in Web Design, User Experience by Kevin Carpenter

With the addition of the nav element in HTML5 there is much confusion as to when to use it. The HTML5 specification definition is the following:

"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links. Not all groups of links on a page need to be in a nav element only sections that consist of major navigation blocks are appropriate for the nav element. In particular, it is common for footers to have a list of links to various key parts of a site, but the footer element is more appropriate in such cases, and no nav...

Read More

Quick Tip: HTML 5 Cheat Sheet

Posted on Tue, December 11, 2012 in by Kevin Carpenter

There is a very handy HTML 5 cheat sheet available for download. It's a printable HTML 5 Cheat Sheet that lists all currently supported tags, their descriptions, their attributes and their support in HTML 4. Definitely worth a download and a print! Please notice that the specification is an ongoing work, and is expected to remain so for many years, although parts of HTML 5 are going to be finished and implemented in browsers before the whole specification reaches final recommendation status. Link: HTML 5 Cheat Sheet

Read More

Quick Tip: CSS3 Cheat Sheet

Posted on Wed, November 28, 2012 in Web Design, User Experience by Kevin Carpenter

If you don’t have it already, do yourself a favor and print this CSS3 cheat sheet. It has a complete listing of all the properties, selectors types and allowed values in the current CSS3 specification from the W3C. Each property is provided in a section matching it with the section (module) that it is most actively associated within the W3C specification. Next to each property is a listing of the values that that property takes (normal text shows named values it accepts and italics shows value types it will accept).  A very handy tool to have around — download link is below.
Link: CSS3...

Read More

Using the :nth child selector in CSS3

Posted on Wed, November 28, 2012 in Web Design by Kevin Carpenter

There is a CSS selector called nth-child. If you put simply a number in the parentheses, it will match only that number element. For example, here is how to select only the 3rd element: The :nth-child(n) selector matches every element that is the nth child, regardless of type, of its parent.

ul li:nth-child(3
color
#ccc;

This selects the 3rd element in a list of related elements and changes its color. nth-child also accepts two keywords in the parentheses spot: even and odd. Those should be pretty obvious. "Even" selects even numbered elements, like the 2nd, 4th, 6th, etc. "Odd"...

Read More

Quick Tip: Meter Tag In HTML5

Posted on Mon, November 12, 2012 in Web Design, User Experience by Kevin Carpenter

The HTML meter tag is used for indicating a scalar measurement within a known range, or a fractional value. The measure is shown as a progress bar.

Also known as a gauge, usage could include displaying disk usage, the amount raised during fundraising activities, or the relevance of a search query result.

It is important to note that the meter element is used to represent a range. It is not appropriate to use this element for representing a single number (such as how many children someone has) unless there is a known maximum number.

Here is how to use it.

Code:
<ol>
<
li><meter min=...

Read More

Quick Tip: How to use the HTML5 Video Tag

Posted on Tue, November 06, 2012 in Web Design by Kevin Carpenter

Until now, there has not been a standard for showing a video/movie on a web page without a third-party video plugin like Flash, Silverlight or Quicktime. The control attribute on the video tag also optionally adds video controls to the player (play, pause, volume, etc).

It is a good idea to always include width and height attributes. If height and width are set, the space required for the video is reserved when the page is loaded. Without these attributes, the browser does not know the size of the video, and cannot reserve the appropriate space to it. The effect will be that the page...

Read More

Using Multiple Backgrounds Images In CSS3

Posted on Mon, November 05, 2012 in Web Design, User Experience by Kevin Carpenter

Before CSS3, using more than one image as a background was not easily done. The effect had to be emulated using one of the many tricks available, such as adding boxes containing images that imitated borders or adjusting styles for several elements. CSS3 comes with some very interesting properties to manage backgrounds in its Backgrounds and Borders Module, including multiple backgrounds and background image size.

Multiple Backgrounds

We can specify multiple background images for box elements using a list on the individual background properties.

The following example has two background...

Read More

Modern Block Quote Styles with CSS3

Posted on Mon, October 29, 2012 in Web Design by Kevin Carpenter

Found an great article specifically on modern block quote styles in CSS3, but has quiet a few other interesting tips. The article provides a couple helpful demonstrations regarding the border radius attribute in CSS3, showcasing the ability to "draw" shapes and inset photos into circular borders. The tutorial also provides unique ways of transforming text to fit CSS created shapes and backgrounds. Definitely worth a read. Modern Block Quote Styles

Read More

Layout and Content Considerations for Responsive Web Design

Posted on Fri, October 26, 2012 in Web Design, Content Strategy, User Experience by Kevin Carpenter

Grid systems are a key component of graphic design, but they’ve almost always been designed for canvases with fixed dimensions. Today, the web we’re designing for has no fixed dimensions, it’s a medium that can shape-shift to better suit its device—a medium capable of displaying a simple layout on a smartphone, a portrait optimized site on a tablet, or a full-fledged website on a computer. We can now tailor designs for the device, thus providing our users with better experiences wherever they are at.

As the spectrum of possible resolutions get wider, focusing our attention on one...

Read More

Topics

Authors

Tell Us About Your Project

Invalid phone number