Skip to content

Pilmore, Lee

Create a timed stylesheet using PHP

Filed under Ajax / scripting, CSS on September 18th, 2007 | Leave a comment

My thanks to Harry Roberts for this little article on creating a timed stylesheet using PHP.

Basically this tiny PHP script will show you how to make a stylesheet switch depending on the time of day, similar to the one found here.

Styling file inputs with CSS and the DOM

Filed under CSS, Design, UI / Usability on September 12th, 2007 | Leave a comment

File inputs (<input type="file" />) are the bane of beautiful form design. No rendering engine provides the granular control over their presentation designers desire.

This simple, three-part progressive enhancement provides the markup, CSS, and JavaScript to address the long-standing irritation.

This solution is known to work in:

  • IE 5.5+
  • Firefox 1.5+
  • Safari 2+

Shaun Inman, we salute you.

New elements in HTML 5

Filed under CSS, Markup, Web Standards on August 10th, 2007 | Comments Off

Hypertext Markup Language (HTML) 5 introduces new elements to HTML for the first time since the last millennium. New structural elements include aside, figure, and section.

New inline elements include time, meter, and progress. New embedding elements include video and audio. New interactive elements include details, datagrid, and command.

HTML 5 is part of the future of the Web. Its new elements enable clearer, simpler markup that makes pages more obvious. Div and span still have their places, but those places are much more restricted than they used to be. Many pages will no longer need to use them.

Compatibility table: CSS3 Selectors

Filed under CSS, Markup on July 23rd, 2007 | Comments Off

The CSS3 Info compatibility table.

A few CSS3 selectors are already making their way into modern web browsers. Of the browsers tested thus far, Konqueror is the clear leader in implementation, with the Gecko (Mozilla, etc) engine not too far behind.

Later Entries » - « Previous Entries

Picture house

Coming from Flickr

Diversions