Archive

Archive for December, 2009

Working with vague dates (90’s, Sept 2000 etc.)

December 16th, 2009 fbis No comments

On a recent project I had to allow users to upload their memories. Memories are vague things and I had to enable users to upload and assign incomplete dates. They needed to be able to enter ‘The 90’s’ or ‘September 2000′ as well as complete dates ‘1st Feb 2009′.

Read more…

Categories: c# Tags:

Automatic ellipsis via css!

December 3rd, 2009 fbis No comments

I consider myself pretty good with css. Doesn’t take me long to convert a photoshop design into working html so I was surprised to find today that there was an easy way to ellipsis to truncated text! Works in all browsers bar FireFox!

overflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
Categories: css Tags: