Kevin McMahon Web Design

CSS, XHTML, Web Design & Accessibility

Subscribe to RSS | Contact Me

Category: xhtml

Opening a new window with Unobtrusive Javascript

Nov 08 2009

According to the W3C Specifications, XHTML should only deal with information displayed in a browser window. Basically, opening a new window is something that does not relate to the current window, and therefore XHTML should not perform this action. So, when opening a new page, this should be... read more on Opening New Windows With Unobtrusive Javascript

Link Icons for external links and different file types

Sep 24 2009

Sometimes you might find yourself with a number of different types of links on your website, from external links, to links opening a new window, links to pdf or document files, or links to print the content of a page. It is important from a user interface perspective to identify these links to... read more on External And File Link Icons

Styling submit buttons with images

Aug 26 2009

There are a number of ways to create fancy looking Submit buttons, whether using html or css. Some people use javascript to send a form, using a style link button as the submit, while others use the button input type. Here’s how I would create an accessible and user friendly submit... read more on Styling Submit Buttons With Images

Using Images in Navigation

May 11 2009

In designing websites, one of more artistic ways to make a site more interesting to the user is to employ the use of images, as opposed to plain text. One particular area where this can be effective is in navigation elements. There are a number of different techniques employed in creating... read more on Using Images In Navigation

Flash and Gracefully Degrading Navigation

Apr 30 2009

Flash animation is often used to enhance the user experience, although sometimes at the expense of accessibility, and users who are incapable of viewing flash.  A beautiful animation may be good at drawing people’s attention to unique selling points, or as design elements alone, but... read more on Flash Navigation And Alternate Content

Making Use of the HTML Tag

Mar 18 2009

When converting a design to a fully functioning html website, one of the aspects of design that can often be troublesome is the page background. Since you neither know the height that any given page will be, nor the width of your users viewport, you always need to ensure that your beautifully... read more on Making Use Of The Html Tag

The Alt Text Attribute and Accessibility

Mar 10 2009

Alternative text is a very important part of a webpage, but this is often overlooked by web developers, who neglect it because it can be difficult to implement. Additionally, badly written or misused alt text can be equally damaging. And this comes at a cost to the accessibility of the website,... read more on Alt Text And Accessibility

Curing my Divitis

Nov 25 2008

I thought I was doing things the right way. I was wrong. I had divitis, and I didn't even know it. But it can be treated, even cured. For years, designers used HTML tables to create easy to manage layouts, to match their designs, despite the fact that they were only ever intended to display... read more on Curing My Divitis

back to top