17 June 2011 ~ Comments Off

Font face in CSS

Use @font-face in your CSS Computers have been capable of displaying multiple fonts for several decades now, so it might seem odd that fonts are only just now becoming standardised on the web. However, disagreement on file formats along with complex font licensing issues have turned this into quite a difficult challenge to overcome. Fortunately, [...]

Continue Reading

Tags:

13 May 2010 ~ Comments Off

Jumping page content

You are likely aware of the page-centering technique of adding auto left and right margins to an outer div: 1 2 3 #some_div { margin: 0 auto; } One of the issues of this is that when used on websites with multiple pages, the layout can appear to “jump” a little bit when going back [...]

Continue Reading

Tags:

10 February 2009 ~ Comments Off

Browser detection using jQuery

Browser sniffing is messy. There are a million ways to do it but none of them are particularly clean and most involve conditional statements such as “” for IE and various other CSS selector hacks for other browsers. It get around this common issue i am now using jQuery to add a class to my [...]

Continue Reading

Tags: ,

10 November 2008 ~ Comments Off

CSS 3 talk – Rounded corners

So the last few years have brought amazing things, with the standards movement and getting companies to pay attention to the importance of following standards. In that time, I have seen over five big changes in PHP, three great changes in rails and only one in CSS. Why are we not seeing css3? Why does [...]

Continue Reading

Tags:

23 October 2008 ~ Comments Off

Web User Controls

Using the user controls may be one of the best moves you will make when developing an application in .NET. The user control will allow you to separate your reusable logic and keep it in one place. For many developers this is a great thing! Many of us have to re-create items over and over, [...]

Continue Reading

Tags: , ,